π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Dedup
Manav Rathi5d28f75c1a37
diff --git a/web/apps/photos/src/services/entityService.ts b/web/apps/photos/src/services/entityService.tsindex be8a1e3a7f..120058f265 100644--- a/web/apps/photos/src/services/entityService.ts+++ b/web/apps/photos/src/services/entityService.ts@@ -15,30 +15,6 @@ import {} from "types/entity";import { getLatestVersionEntities } from "utils/entity";-/**- * The maximum number of items to fetch in a single diff- *- * [Note: Limit of returned items in /diff requests]- *- * The various GET /diff API methods, which tell the client what all has changed- * since a timestamp (provided by the client) take a limit parameter.- *- * These diff API calls return all items whose updated at is greater- * (non-inclusive) than the timestamp we provide. So there is no mechanism for- * pagination of items which have the exact same updated at.- *- * Conceptually, it may happen that there are more items than the limit we've- * provided, but there are practical safeguards.- *- * For file diff, the limit is advisory, and remote may return less, equal or- * more items than the provided limit. The scenario where it returns more is- * when more files than the limit have the same updated at. Theoretically it- * would make the diff response unbounded, however in practice file- * modifications themselves are all batched. Even if the user were to select all- * the files in their library and updates them all in one go in the UI, their- * client app is required to use batched API calls to make those updates, and- * each of those batches would get distinct updated at.- */const DIFF_LIMIT = 500;const ENTITY_TABLES: Record<EntityType, string> = {