mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
parent
cc99406dd3
commit
1302f7c841
@ -259,6 +259,9 @@ Value RequestCertificateHandler(const MessageOrigin& origin, const Dictionary::P
|
|||||||
|
|
||||||
void ApiClient::TimeoutTimerHandler(void)
|
void ApiClient::TimeoutTimerHandler(void)
|
||||||
{
|
{
|
||||||
if (Utility::GetTime() - 60 > m_Seen)
|
if (m_Seen < Utility::GetTime() - 60) {
|
||||||
|
Log(LogInformation, "ApiClient")
|
||||||
|
<< "No messages for identity '" << m_Identity << "' have been received in the last 60 seconds.";
|
||||||
Disconnect();
|
Disconnect();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user