mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 11:45:59 +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: kDebugMode,
|
||||||
inspector: false,
|
inspector: false,
|
||||||
name: "wallet_data",
|
name: "wallet_data",
|
||||||
maxSizeMiB: 1024,
|
maxSizeMiB: 512,
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ void main() async {
|
||||||
[LogSchema],
|
[LogSchema],
|
||||||
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
||||||
inspector: false,
|
inspector: false,
|
||||||
maxSizeMiB: 1024,
|
maxSizeMiB: 512,
|
||||||
);
|
);
|
||||||
await Logging.instance.init(isar);
|
await Logging.instance.init(isar);
|
||||||
await DebugService.instance.init(isar);
|
await DebugService.instance.init(isar);
|
||||||
|
|
|
@ -51,7 +51,7 @@ class ExchangeDataLoadingService {
|
||||||
// inspector: kDebugMode,
|
// inspector: kDebugMode,
|
||||||
inspector: false,
|
inspector: false,
|
||||||
name: "exchange_cache",
|
name: "exchange_cache",
|
||||||
maxSizeMiB: 1024,
|
maxSizeMiB: 256,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ class DesktopSecureStore {
|
||||||
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
directory: (await StackFileSystem.applicationIsarDirectory()).path,
|
||||||
inspector: false,
|
inspector: false,
|
||||||
name: "desktopStore",
|
name: "desktopStore",
|
||||||
maxSizeMiB: 1024,
|
maxSizeMiB: 512,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class Logging {
|
||||||
isar = await Isar.open(
|
isar = await Isar.open(
|
||||||
[LogSchema],
|
[LogSchema],
|
||||||
inspector: false,
|
inspector: false,
|
||||||
maxSizeMiB: 1024,
|
maxSizeMiB: 512,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue