mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
Merge pull request #2411
965081c
DaemonManager: reset disconnectedEpoch on start, start timeout 60s (xiphon)
This commit is contained in:
commit
5e2099ad47
2 changed files with 2 additions and 2 deletions
2
main.qml
2
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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue