Merge pull request #6632 from Icinga/feature/cluster-faster-reconnect

Increase the cluster reconnect frequency to 10s
This commit is contained in:
Michael Friedrich 2018-09-25 17:07:01 +02:00 committed by GitHub
commit c979f86e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);