MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / allPersistenceDisabled

Function allPersistenceDisabled

src/server.cpp:1757–1759  ·  view source on GitHub ↗

Return true if this instance has persistence completely turned off: * both RDB and AOF are disabled. */

Source from the content-addressed store, hash-verified

1755/* Return true if this instance has persistence completely turned off:
1756 * both RDB and AOF are disabled. */
1757int allPersistenceDisabled(void) {
1758 return g_pserver->saveparamslen == 0 && g_pserver->aof_state == AOF_OFF;
1759}
1760
1761/* ======================= Cron: called every 100 ms ======================== */
1762

Callers 2

readSyncBulkPayloadRdbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected