mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 19:05:51 +00:00
explicit db max size isar setting
This commit is contained in:
parent
d16cec0515
commit
af7818eb6a
5 changed files with 7 additions and 2 deletions
|
@ -32,6 +32,7 @@ class MainDB {
|
|||
// inspector: kDebugMode,
|
||||
inspector: false,
|
||||
name: "wallet_data",
|
||||
maxSizeMiB: 1024,
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -106,6 +106,7 @@ void main() async {
|
|||
[LogSchema],
|
||||
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
||||
inspector: false,
|
||||
maxSizeMiB: 1024,
|
||||
);
|
||||
await Logging.instance.init(isar);
|
||||
await DebugService.instance.init(isar);
|
||||
|
|
|
@ -48,9 +48,10 @@ class ExchangeDataLoadingService {
|
|||
PairSchema,
|
||||
],
|
||||
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
||||
inspector: kDebugMode,
|
||||
// inspector: false,
|
||||
// inspector: kDebugMode,
|
||||
inspector: false,
|
||||
name: "exchange_cache",
|
||||
maxSizeMiB: 1024,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@ class DesktopSecureStore {
|
|||
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
||||
inspector: false,
|
||||
name: "desktopStore",
|
||||
maxSizeMiB: 1024,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ class Logging {
|
|||
isar = await Isar.open(
|
||||
[LogSchema],
|
||||
inspector: false,
|
||||
maxSizeMiB: 1024,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue