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

Method disableKeyCache

src/db.cpp:3164–3169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3162}
3163
3164void redisDbPersistentData::disableKeyCache()
3165{
3166 if (m_spstorage == nullptr)
3167 return;
3168 m_spstorage->emergencyFreeCache();
3169}
3170
3171bool redisDbPersistentData::keycacheIsEnabled()
3172{

Callers 2

performEvictionsFunction · 0.80
throttleMethod · 0.80

Calls 1

emergencyFreeCacheMethod · 0.80

Tested by

no test coverage detected