DaemonManager: reset disconnectedEpoch on start, start timeout 60s

This commit is contained in:
xiphon
2019-10-09 02:02:58 +00:00
parent e6458b58ef
commit 965081c554
2 changed files with 2 additions and 2 deletions

View File

@@ -700,6 +700,7 @@ ApplicationWindow {
// resume refresh
currentWallet.startRefresh();
// resume simplemode connection timer
appWindow.disconnectedEpoch = Utils.epoch();
simpleModeConnectionTimer.start();
}
function onDaemonStopped(){
@@ -1855,7 +1856,6 @@ ApplicationWindow {
appWindow.stopDaemon();
}
appWindow.startDaemon("");
appWindow.disconnectedEpoch = Utils.epoch();
}
Timer {