mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue