mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
IcingaDB: Don't stream runtime state updates to Redis
This commit is contained in:
parent
065118bc22
commit
bc2c750551
@ -3383,10 +3383,12 @@ void IcingaDB::DeleteState(const String& id, RedisKey redisKey, bool hasChecksum
|
||||
hdels.emplace_back(RedisConnection::Query{"HDEL", m_PrefixConfigObject + redisKeyWithoutPrefix, id});
|
||||
|
||||
m_Rcon->FireAndForgetQueries(std::move(hdels), Prio::RuntimeStateSync);
|
||||
m_Rcon->FireAndForgetQueries({{
|
||||
// TODO: This is currently purposefully commented out due to how Icinga DB (Go) handles runtime state
|
||||
// upsert and delete events. See https://github.com/Icinga/icingadb/pull/894 for more details.
|
||||
/*m_Rcon->FireAndForgetQueries({{
|
||||
"XADD", "icinga:runtime:state", "MAXLEN", "~", "1000000", "*",
|
||||
"redis_key", m_PrefixConfigObject + redisKeyWithoutPrefix, "id", id, "runtime_type", "delete"
|
||||
}}, Prio::RuntimeStateStream, {0, 1});
|
||||
}}, Prio::RuntimeStateStream, {0, 1});*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user