MCPcopy Create free account
hub / github.com/antirez/disque / randomTimeError

Function randomTimeError

src/server.c:281–283  ·  view source on GitHub ↗

Return a random time error between -(milliseconds/2) and +(milliseconds/2). * This is useful in order to desynchronize multiple nodes competing for the * same operation in a best-effort way. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

enqueueJobFunction · 0.85
workingCommandFunction · 0.85
getNextGCRetryTimeFunction · 0.85
clusterProcessPacketFunction · 0.85
processJobFunction · 0.85
deserializeJobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected