Skip to content

Commit

Permalink
Merge pull request #2411
Browse files Browse the repository at this point in the history
965081c DaemonManager: reset disconnectedEpoch on start, start timeout 60s (xiphon)
  • Loading branch information
luigi1111 committed Oct 14, 2019
2 parents 44280d1 + 965081c commit 5e2099a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ ApplicationWindow {
// resume refresh
currentWallet.startRefresh();
// resume simplemode connection timer
appWindow.disconnectedEpoch = Utils.epoch();
simpleModeConnectionTimer.start();
}
function onDaemonStopped(){
Expand Down Expand Up @@ -1855,7 +1856,6 @@ ApplicationWindow {
appWindow.stopDaemon();
}
appWindow.startDaemon("");
appWindow.disconnectedEpoch = Utils.epoch();
}

Timer {
Expand Down
2 changes: 1 addition & 1 deletion src/daemon/DaemonManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5e2099a

Please sign in to comment.