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

Method Sync

lib/icingadb/redisconnection.cpp:245–248  ·  view source on GitHub ↗

* Puts a no-op command with a result at the end of the queue and wait for the result, * i.e. for everything enqueued to be processed by the server. * * @ingroup icingadb */

Source from the content-addressed store, hash-verified

243 * @ingroup icingadb
244 */
245void RedisConnection::Sync()
246{
247 GetResultOfQuery({"PING"});
248}
249
250/**
251 * Get the enqueue time of the oldest still queued Redis query

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected