Merge pull request #2411

965081c DaemonManager: reset disconnectedEpoch on start, start timeout 60s (xiphon)
pull/2/head
luigi1111 5 years ago
commit 5e2099ad47
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -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 {

@ -43,7 +43,7 @@
#include <QMap>
namespace {
static const int DAEMON_START_TIMEOUT_SECONDS = 30;
static const int DAEMON_START_TIMEOUT_SECONDS = 60;
}
DaemonManager * DaemonManager::m_instance = nullptr;