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

Function hash_spin_worker

src/server.cpp:2066–2069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2064}
2065
2066int hash_spin_worker() {
2067 auto ctl = serverTL->rehashCtl;
2068 return dictRehashSomeAsync(ctl, 1);
2069}
2070
2071/* This function handles 'background' operations we are required to do
2072 * incrementally in Redis databases, such as active key expiring, resizing,

Callers

nothing calls this directly

Calls 1

dictRehashSomeAsyncFunction · 0.85

Tested by

no test coverage detected