π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Remove unnecessary readwrite tx
Manav Rathi9f166d2e48f9
diff --git a/web/packages/new/photos/services/ml/db.ts b/web/packages/new/photos/services/ml/db.tsindex f0499a12ca..f6d2043752 100644--- a/web/packages/new/photos/services/ml/db.ts+++ b/web/packages/new/photos/services/ml/db.ts@@ -374,7 +374,7 @@ export const updateAssumingLocalFiles = async (*/export const indexableAndIndexedCounts = async () => {const db = await mlDB();- const tx = db.transaction("file-status", "readwrite");+ const tx = db.transaction("file-status", "readonly");const indexableCount = await tx.store.index("status").count(IDBKeyRange.only("indexable"));