adjust maxSizeMiB for isar instances

This commit is contained in:
julian 2023-02-10 18:41:21 -06:00
parent 393418f2e7
commit dd9d59eb12
5 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ class MainDB {
// inspector: kDebugMode,
inspector: false,
name: "wallet_data",
maxSizeMiB: 1024,
maxSizeMiB: 512,
);
return true;
}

View file

@ -106,7 +106,7 @@ void main() async {
[LogSchema],
directory: (await StackFileSystem.applicationIsarDirectory()).path,
inspector: false,
maxSizeMiB: 1024,
maxSizeMiB: 512,
);
await Logging.instance.init(isar);
await DebugService.instance.init(isar);

View file

@ -51,7 +51,7 @@ class ExchangeDataLoadingService {
// inspector: kDebugMode,
inspector: false,
name: "exchange_cache",
maxSizeMiB: 1024,
maxSizeMiB: 256,
);
}

View file

@ -62,7 +62,7 @@ class DesktopSecureStore {
directory: (await StackFileSystem.applicationIsarDirectory()).path,
inspector: false,
name: "desktopStore",
maxSizeMiB: 1024,
maxSizeMiB: 512,
);
}

View file

@ -35,7 +35,7 @@ class Logging {
isar = await Isar.open(
[LogSchema],
inspector: false,
maxSizeMiB: 1024,
maxSizeMiB: 512,
);
}