diff options
| author | xiphon <xiphon@protonmail.com> | 2019-10-09 02:02:58 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2019-10-09 02:02:58 +0000 |
| commit | 965081c5542ea52c062435b14fd408df4c845733 (patch) | |
| tree | e0a54cc66a7fdefc098e2c941daafc2f86b97eb8 | |
| parent | e6458b58ef34a74aa45d48d54ac7b659a2400c8c (diff) | |
| download | monzero-gui-965081c5542ea52c062435b14fd408df4c845733.tar.gz monzero-gui-965081c5542ea52c062435b14fd408df4c845733.tar.xz monzero-gui-965081c5542ea52c062435b14fd408df4c845733.zip | |
DaemonManager: reset disconnectedEpoch on start, start timeout 60s
| -rw-r--r-- | main.qml | 2 | ||||
| -rw-r--r-- | src/daemon/DaemonManager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 { diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index 0d311535..6102c785 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -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; |
