increase xmr/wow autosave timer period

This commit is contained in:
julian 2023-01-02 16:43:04 -06:00
parent 0062294488
commit 66e9f87c0f
2 changed files with 2 additions and 2 deletions

View file

@ -781,7 +781,7 @@ class MoneroWallet extends CoinServiceAPI {
await refresh(); await refresh();
_autoSaveTimer?.cancel(); _autoSaveTimer?.cancel();
_autoSaveTimer = Timer.periodic( _autoSaveTimer = Timer.periodic(
const Duration(seconds: 93), const Duration(seconds: 193),
(_) async => await walletBase?.save(), (_) async => await walletBase?.save(),
); );
} else { } else {

View file

@ -812,7 +812,7 @@ class WowneroWallet extends CoinServiceAPI {
await refresh(); await refresh();
_autoSaveTimer?.cancel(); _autoSaveTimer?.cancel();
_autoSaveTimer = Timer.periodic( _autoSaveTimer = Timer.periodic(
const Duration(seconds: 93), const Duration(seconds: 193),
(_) async => await walletBase?.save(), (_) async => await walletBase?.save(),
); );
} else { } else {