MCPcopy 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
257int fdNew = -1;
258void handle_prefork()
259{
260 fdNew = forkFile();
261 if (fdNew < 0)
262 serverLog(LL_WARNING, "Failed to clone scratch file");
263}
264
265void handle_postfork_parent()
266{

Callers

nothing calls this directly

Calls 2

forkFileFunction · 0.85
serverLogFunction · 0.85

Tested by

no test coverage detected