Skip to content
Permalink
Browse files

DaemonManager: reset disconnectedEpoch on start, start timeout 60s

  • Loading branch information...
xiphon committed Oct 9, 2019
1 parent e6458b5 commit 965081c5542ea52c062435b14fd408df4c845733
Showing with 2 additions and 2 deletions.
  1. +1 −1 main.qml
  2. +1 −1 src/daemon/DaemonManager.cpp
@@ -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;

0 comments on commit 965081c

Please sign in to comment.
You can’t perform that action at this time.