1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02: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
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/",
);