[mob][photos] Increase the pool for face thumbnail generation
This commit is contained in:
parent
3fbfa8c0e6
commit
244d562207
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import "package:photos/utils/thumbnail_util.dart";
|
|||
import "package:pool/pool.dart";
|
||||
|
||||
final LRUMap<String, Uint8List?> faceCropCache = LRUMap(1000);
|
||||
final pool = Pool(5, timeout: const Duration(seconds: 15));
|
||||
final pool = Pool(10, timeout: const Duration(seconds: 15));
|
||||
Future<Map<String, Uint8List>?> getFaceCrops(
|
||||
EnteFile file,
|
||||
Map<String, FaceBox> faceBoxeMap,
|
||||
|
|
Loading…
Add table
Reference in a new issue