MCPcopy Create free account
hub / github.com/F-Stack/f-stack / allPersistenceDisabled

Function allPersistenceDisabled

app/redis-6.2.6/src/server.c:1643–1645  ·  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

1641/* Return true if this instance has persistence completely turned off:
1642 * both RDB and AOF are disabled. */
1643int allPersistenceDisabled(void) {
1644 return server.saveparamslen == 0 && server.aof_state == AOF_OFF;
1645}
1646
1647/* ======================= Cron: called every 100 ms ======================== */
1648

Callers 2

readSyncBulkPayloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected