mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
adjust maxSizeMiB for isar instances
This commit is contained in:
parent
393418f2e7
commit
dd9d59eb12
5 changed files with 5 additions and 5 deletions
|
@ -32,7 +32,7 @@ class MainDB {
|
|||
// inspector: kDebugMode,
|
||||
inspector: false,
|
||||
name: "wallet_data",
|
||||
maxSizeMiB: 1024,
|
||||
maxSizeMiB: 512,
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -51,7 +51,7 @@ class ExchangeDataLoadingService {
|
|||
// inspector: kDebugMode,
|
||||
inspector: false,
|
||||
name: "exchange_cache",
|
||||
maxSizeMiB: 1024,
|
||||
maxSizeMiB: 256,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ class DesktopSecureStore {
|
|||
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
||||
inspector: false,
|
||||
name: "desktopStore",
|
||||
maxSizeMiB: 1024,
|
||||
maxSizeMiB: 512,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class Logging {
|
|||
isar = await Isar.open(
|
||||
[LogSchema],
|
||||
inspector: false,
|
||||
maxSizeMiB: 1024,
|
||||
maxSizeMiB: 512,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue