π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Disable full file caches for now
Manav Rathi896cf0f785aa
diff --git a/web/apps/photos/src/services/download/index.ts b/web/apps/photos/src/services/download/index.tsindex 124d5b4b24..41af5c0557 100644--- a/web/apps/photos/src/services/download/index.ts+++ b/web/apps/photos/src/services/download/index.ts@@ -7,7 +7,6 @@ import { CustomError } from "@ente/shared/error";import { Events, eventBus } from "@ente/shared/events";import { Remote } from "comlink";import { FILE_TYPE } from "constants/file";-import isElectron from "is-electron";import { EnteFile } from "types/file";import {generateStreamFromArrayBuffer,@@ -89,11 +88,12 @@ class DownloadManagerImpl {e,);}- try {- if (isElectron()) this.fileCache = await openCache("files");- } catch (e) {- log.error("Failed to open file cache, will continue without it", e);- }+ // TODO (MR): Revisit full file caching cf disk space usage+ // try {+ // if (isElectron()) this.fileCache = await openCache("files");+ // } catch (e) {+ // log.error("Failed to open file cache, will continue without it", e);+ // }this.cryptoWorker = await ComlinkCryptoWorker.getInstance();this.ready = true;eventBus.on(Events.LOGOUT, this.logoutHandler.bind(this), this);