mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 13:14:32 +02:00
parent
f4145579ca
commit
67208c4f07
@ -700,7 +700,7 @@ void RedisWriter::VersionChangedHandler(const ConfigObject::Ptr& object)
|
|||||||
if (object->IsActive()) {
|
if (object->IsActive()) {
|
||||||
// Create or update the object config
|
// Create or update the object config
|
||||||
for (const RedisWriter::Ptr& rw : ConfigType::GetObjectsByType<RedisWriter>()) {
|
for (const RedisWriter::Ptr& rw : ConfigType::GetObjectsByType<RedisWriter>()) {
|
||||||
// rw->m_WorkQueue.Enqueue(std::bind(&RedisWriter::SendConfigUpdate, rw, object, true));
|
rw->m_WorkQueue.Enqueue(std::bind(&RedisWriter::SendConfigUpdate, rw, object, true));
|
||||||
}
|
}
|
||||||
} else if (!object->IsActive() &&
|
} else if (!object->IsActive() &&
|
||||||
object->GetExtension("ConfigObjectDeleted")) { // same as in apilistener-configsync.cpp
|
object->GetExtension("ConfigObjectDeleted")) { // same as in apilistener-configsync.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user