Ver Fonte

Increase batch size for caching thumbs

vishnukvmd há 1 ano atrás
pai
commit
1c488e86a5

+ 1 - 1
lib/services/semantic_search/semantic_search_service.dart

@@ -141,7 +141,7 @@ class SemanticSearchService {
 
   Future<void> _cacheThumbnails(List<EnteFile> files) async {
     int counter = 0;
-    const batchSize = 50;
+    const batchSize = 100;
     for (var i = 0; i < files.length;) {
       final futures = <Future>[];
       for (var j = 0; j < batchSize && i < files.length; j++, i++) {