mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Send heartbeat every 20s and not 10s
This commit is contained in:
parent
e9b8fc234b
commit
cf5ec5e341
@ -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…
x
Reference in New Issue
Block a user