mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
4d87c96d06
commit
90e241ca85
@ -572,6 +572,9 @@ void ApiListener::ApiTimerHandler(void)
|
|||||||
void ApiListener::RelayMessage(const MessageOrigin::Ptr& origin,
|
void ApiListener::RelayMessage(const MessageOrigin::Ptr& origin,
|
||||||
const ConfigObject::Ptr& secobj, const Dictionary::Ptr& message, bool log)
|
const ConfigObject::Ptr& secobj, const Dictionary::Ptr& message, bool log)
|
||||||
{
|
{
|
||||||
|
if (!IsActive())
|
||||||
|
return;
|
||||||
|
|
||||||
m_RelayQueue.Enqueue(boost::bind(&ApiListener::SyncRelayMessage, this, origin, secobj, message, log), PriorityNormal, true);
|
m_RelayQueue.Enqueue(boost::bind(&ApiListener::SyncRelayMessage, this, origin, secobj, message, log), PriorityNormal, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user