mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8102 from Icinga/bugfix/send-heartbeat-less-often-8098
Send heartbeat every 20s and not 10s
This commit is contained in:
commit
9f57e895f1
|
@ -20,7 +20,7 @@ void JsonRpcConnection::HandleAndWriteHeartbeats(boost::asio::yield_context yc)
|
|||
boost::system::error_code ec;
|
||||
|
||||
for (;;) {
|
||||
m_HeartbeatTimer.expires_from_now(boost::posix_time::seconds(10));
|
||||
m_HeartbeatTimer.expires_from_now(boost::posix_time::seconds(20));
|
||||
m_HeartbeatTimer.async_wait(yc[ec]);
|
||||
|
||||
if (m_ShuttingDown) {
|
||||
|
|
Loading…
Reference in New Issue