MCPcopy Create free account
hub / github.com/Icinga/icinga2 / DecreasePendingQueries

Method DecreasePendingQueries

lib/icingadb/redisconnection.cpp:708–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708void RedisConnection::DecreasePendingQueries(int count)
709{
710 if (m_Parent) {
711 m_Parent->DecreasePendingQueries(count);
712 }
713
714 // Same as in IncreasePendingQueries().
715 if (!m_Parent || m_TrackOwnPendingQueries) {
716 m_PendingQueries.fetch_sub(count);
717 m_OutputQueries.InsertValue(Utility::GetTime(), count);
718 }
719}
720
721void RedisConnection::RecordAffected(RedisConnection::QueryAffects affected, double when)
722{

Callers

nothing calls this directly

Calls 1

InsertValueMethod · 0.80

Tested by

no test coverage detected