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

Method CleanUpExecuteQuery

lib/db_ido_pgsql/idopgsqlconnection.cpp:1036–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034}
1035
1036void IdoPgsqlConnection::CleanUpExecuteQuery(const String& table, const String& time_column, double max_age)
1037{
1038 if (IsPaused())
1039 return;
1040
1041 IncreasePendingQueries(1);
1042 m_QueryQueue.Enqueue([this, table, time_column, max_age]() { InternalCleanUpExecuteQuery(table, time_column, max_age); }, PriorityLow, true);
1043}
1044
1045void IdoPgsqlConnection::InternalCleanUpExecuteQuery(const String& table, const String& time_column, double max_age)
1046{

Callers

nothing calls this directly

Calls 1

EnqueueMethod · 0.45

Tested by

no test coverage detected