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

Function updateSighandlerEnabled

src/config.cpp:2639–2647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2637}
2638
2639static int updateSighandlerEnabled(int val, int prev, const char **err) {
2640 UNUSED(err);
2641 UNUSED(prev);
2642 if (val)
2643 setupSignalHandlers();
2644 else
2645 removeSignalHandlers();
2646 return 1;
2647}
2648
2649static int updateMaxclients(long long val, long long prev, const char **err) {
2650 /* Try to check if the OS is capable of supporting so many FDs. */

Callers

nothing calls this directly

Calls 2

setupSignalHandlersFunction · 0.85
removeSignalHandlersFunction · 0.85

Tested by

no test coverage detected