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:
parent
fbe29bf4cd
commit
e852971a13
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ Future<Isar> loadDb() async {
|
||||||
if (Platform.isIOS) IOSDeviceAssetSchema,
|
if (Platform.isIOS) IOSDeviceAssetSchema,
|
||||||
],
|
],
|
||||||
directory: dir.path,
|
directory: dir.path,
|
||||||
maxSizeMiB: 256,
|
maxSizeMiB: 1024,
|
||||||
);
|
);
|
||||||
Store.init(db);
|
Store.init(db);
|
||||||
return db;
|
return db;
|
||||||
|
|
|
@ -50,7 +50,7 @@ final class TestUtils {
|
||||||
AndroidDeviceAssetSchema,
|
AndroidDeviceAssetSchema,
|
||||||
IOSDeviceAssetSchema,
|
IOSDeviceAssetSchema,
|
||||||
],
|
],
|
||||||
maxSizeMiB: 256,
|
maxSizeMiB: 1024,
|
||||||
directory: "test/",
|
directory: "test/",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue