mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 12:30:10 +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
|
// resume refresh
|
||||||
currentWallet.startRefresh();
|
currentWallet.startRefresh();
|
||||||
// resume simplemode connection timer
|
// resume simplemode connection timer
|
||||||
|
appWindow.disconnectedEpoch = Utils.epoch();
|
||||||
simpleModeConnectionTimer.start();
|
simpleModeConnectionTimer.start();
|
||||||
}
|
}
|
||||||
function onDaemonStopped(){
|
function onDaemonStopped(){
|
||||||
|
@ -1855,7 +1856,6 @@ ApplicationWindow {
|
||||||
appWindow.stopDaemon();
|
appWindow.stopDaemon();
|
||||||
}
|
}
|
||||||
appWindow.startDaemon("");
|
appWindow.startDaemon("");
|
||||||
appWindow.disconnectedEpoch = Utils.epoch();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const int DAEMON_START_TIMEOUT_SECONDS = 30;
|
static const int DAEMON_START_TIMEOUT_SECONDS = 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
DaemonManager * DaemonManager::m_instance = nullptr;
|
DaemonManager * DaemonManager::m_instance = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue