mirror of https://github.com/Icinga/icinga2.git
parent
308ba45102
commit
9a06b09366
|
@ -79,6 +79,8 @@ void ApiClient::SendMessageSync(const Dictionary::Ptr& message)
|
|||
{
|
||||
try {
|
||||
ObjectLock olock(m_Stream);
|
||||
if (m_Stream->IsEof())
|
||||
return;
|
||||
JsonRpc::SendMessage(m_Stream, message);
|
||||
if (message->Get("method") != "log::SetLogPosition")
|
||||
m_Seen = Utility::GetTime();
|
||||
|
|
Loading…
Reference in New Issue