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

Method tryResize

src/db.cpp:2712–2716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2710}
2711
2712void redisDbPersistentData::tryResize()
2713{
2714 if (htNeedsResize(m_pdict))
2715 dictResize(m_pdict);
2716}
2717
2718size_t redisDb::clear(bool fAsync, void(callback)(void*))
2719{

Callers 1

tryResizeHashTablesFunction · 0.80

Calls 2

htNeedsResizeFunction · 0.85
dictResizeFunction · 0.85

Tested by

no test coverage detected