mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6632 from Icinga/feature/cluster-faster-reconnect
Increase the cluster reconnect frequency to 10s
This commit is contained in:
commit
c979f86e4e
|
@ -265,7 +265,7 @@ void ApiListener::Start(bool runtimeCreated)
|
|||
|
||||
m_ReconnectTimer = new Timer();
|
||||
m_ReconnectTimer->OnTimerExpired.connect(std::bind(&ApiListener::ApiReconnectTimerHandler, this));
|
||||
m_ReconnectTimer->SetInterval(60);
|
||||
m_ReconnectTimer->SetInterval(10);
|
||||
m_ReconnectTimer->Start();
|
||||
m_ReconnectTimer->Reschedule(0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue