Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ handle_prefork
Function
handle_prefork
src/storage.cpp:258–263 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
256
257
int fdNew = -1;
258
void handle_prefork()
259
{
260
fdNew = forkFile();
261
if (fdNew < 0)
262
serverLog(LL_WARNING,
"Failed to clone scratch file"
);
263
}
264
265
void handle_postfork_parent()
266
{
Callers
nothing calls this directly
Calls
2
forkFile
Function · 0.85
serverLog
Function · 0.85
Tested by
no test coverage detected