瀏覽代碼

Reduce the number of thumbnails cached in memory

Vishnu Mohandas 4 年之前
父節點
當前提交
ff7868d118
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/core/cache/image_cache.dart

+ 1 - 1
lib/core/cache/image_cache.dart

@@ -16,7 +16,7 @@ class FileLruCache {
 }
 
 class ThumbnailFileLruCache {
-  static LRUMap<String, io.File> _map = LRUMap(500);
+  static LRUMap<String, io.File> _map = LRUMap(100);
 
   static io.File get(File file) {
     return _map.get(file.tag());