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

Function evictPolicyToString

src/config.cpp:300–302  ·  view source on GitHub ↗

Used for INFO generation. */

Source from the content-addressed store, hash-verified

298
299/* Used for INFO generation. */
300const char *evictPolicyToString(void) {
301 return configEnumGetNameOrUnknown(maxmemory_policy_enum,g_pserver->maxmemory_policy);
302}
303
304/*-----------------------------------------------------------------------------
305 * Config file parsing

Callers 1

genRedisInfoStringFunction · 0.85

Calls 1

Tested by

no test coverage detected