Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Update magic cache every 3 days

ashilkn8fae7719b5a4
diff --git a/mobile/lib/services/magic_cache_service.dart b/mobile/lib/services/magic_cache_service.dart
index eccb6951da..b801846f0c 100644
--- a/mobile/lib/services/magic_cache_service.dart
+++ b/mobile/lib/services/magic_cache_service.dart
@@ -103,7 +103,7 @@ class MagicCacheService {
}
if (lastMagicCacheUpdateTime <
DateTime.now()
- .subtract(const Duration(seconds: 1))
+ .subtract(const Duration(days: 3))
.millisecondsSinceEpoch) {
Future.delayed(_kCacheUpdateDelay, () {
unawaited(_updateCache());