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

Function freeTrackingRadixTreeAsync

src/lazyfree.cpp:236–239  ·  view source on GitHub ↗

Free an object, if the object is huge enough, free it in async way. */

Source from the content-addressed store, hash-verified

234
235/* Free an object, if the object is huge enough, free it in async way. */
236void freeTrackingRadixTreeAsync(rax *tracking) {
237 atomicIncr(lazyfree_objects,tracking->numele);
238 bioCreateLazyFreeJob(lazyFreeTrackingTable,1,tracking);
239}
240
241/* Free lua_scripts dict, if the dict is huge enough, free it in async way. */
242void freeLuaScriptsAsync(dict *lua_scripts) {

Callers 1

Calls 1

bioCreateLazyFreeJobFunction · 0.85

Tested by

no test coverage detected