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

Function clusterDoBeforeSleep

src/cluster.cpp:3856–3858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3854}
3855
3856void clusterDoBeforeSleep(int flags) {
3857 g_pserver->cluster->todo_before_sleep |= flags;
3858}
3859
3860/* -----------------------------------------------------------------------------
3861 * Slots management

Callers 12

clusterUpdateMyselfFlagsFunction · 0.85
clusterResetFunction · 0.85
clearNodeFailureIfNeededFunction · 0.85
clusterSetNodeAsMasterFunction · 0.85
clusterProcessPacketFunction · 0.85
clusterCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected