aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-10-14 17:57:23 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-10-14 17:57:23 -0500
commit5e2099ad4701719a5572812adca12fdc28cdb92e (patch)
tree5d228cb89ff500a29be9eec580c705b70a24bde4
parent44280d1e52070619c30c18d051da816b99391384 (diff)
parent965081c5542ea52c062435b14fd408df4c845733 (diff)
downloadmonzero-gui-5e2099ad4701719a5572812adca12fdc28cdb92e.tar.gz
monzero-gui-5e2099ad4701719a5572812adca12fdc28cdb92e.tar.xz
monzero-gui-5e2099ad4701719a5572812adca12fdc28cdb92e.zip
Merge pull request #2411
965081c DaemonManager: reset disconnectedEpoch on start, start timeout 60s (xiphon)
-rw-r--r--main.qml2
-rw-r--r--src/daemon/DaemonManager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 74e86a0c..8bfc21b6 100644
--- a/main.qml
+++ b/main.qml
@@ -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 baabffb4..e043f225 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;