mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-04 22:32:31 -04:00
Send heartbeat every 20s and not 10s
This commit is contained in:
parent
e9b8fc234b
commit
cf5ec5e341
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue