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

Function isMutuallyExclusiveChildType

src/server.cpp:1751–1753  ·  view source on GitHub ↗

Return if child type is mutual exclusive with other fork children */

Source from the content-addressed store, hash-verified

1749
1750/* Return if child type is mutual exclusive with other fork children */
1751int isMutuallyExclusiveChildType(int type) {
1752 return type == CHILD_TYPE_RDB || type == CHILD_TYPE_AOF || type == CHILD_TYPE_MODULE;
1753}
1754
1755/* Return true if this instance has persistence completely turned off:
1756 * both RDB and AOF are disabled. */

Callers 1

redisForkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected