π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Smaller in memory cache
laurenspriem4c82d6bc84c8
diff --git a/mobile/lib/utils/face/face_thumbnail_cache.dart b/mobile/lib/utils/face/face_thumbnail_cache.dartindex e6ff0e81ac..63614edc74 100644--- a/mobile/lib/utils/face/face_thumbnail_cache.dart+++ b/mobile/lib/utils/face/face_thumbnail_cache.dart@@ -20,10 +20,10 @@ import "package:photos/utils/thumbnail_util.dart";final _logger = Logger("FaceCropUtils");const int _retryLimit = 3;-final LRUMap<String, Uint8List?> _faceCropCache = LRUMap(1000);-final LRUMap<String, Uint8List?> _faceCropThumbnailCache = LRUMap(1000);+final LRUMap<String, Uint8List?> _faceCropCache = LRUMap(200);+final LRUMap<String, Uint8List?> _faceCropThumbnailCache = LRUMap(200);-final LRUMap<String, String> _personOrClusterIdToCachedFaceID = LRUMap(1000);+final LRUMap<String, String> _personOrClusterIdToCachedFaceID = LRUMap(200);TaskQueue _queueFullFileFaceGenerations = TaskQueue<String>(maxConcurrentTasks: 5,