Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2712
void redisDbPersistentData::tryResize()
2713
{
2714
if (htNeedsResize(m_pdict))
2715
dictResize(m_pdict);
2716
}
2717
2718
size_t redisDb::clear(bool fAsync, void(callback)(void*))
2719
{
Callers
1
tryResizeHashTables
Function · 0.80
Calls
2
htNeedsResize
Function · 0.85
dictResize
Function · 0.85
Tested by
no test coverage detected