0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

fix(mobile): fix database out of size (#11065)

This commit is contained in:
Alex 2024-07-13 20:55:35 -05:00 committed by GitHub
parent fbe29bf4cd
commit e852971a13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ Future<Isar> loadDb() async {
if (Platform.isIOS) IOSDeviceAssetSchema,
],
directory: dir.path,
maxSizeMiB: 256,
maxSizeMiB: 1024,
);
Store.init(db);
return db;

View file

@ -50,7 +50,7 @@ final class TestUtils {
AndroidDeviceAssetSchema,
IOSDeviceAssetSchema,
],
maxSizeMiB: 256,
maxSizeMiB: 1024,
directory: "test/",
);