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

Function updateCachedTime

src/server.c:725–728  ·  view source on GitHub ↗

We take a cached value of the unix time in the global state because with * virtual memory and aging there is to store the current time in objects at * every object access, and accuracy is not needed. To access a global var is * a lot faster than calling time(NULL) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

serverCronFunction · 0.85
initServerFunction · 0.85

Calls 1

mstimeFunction · 0.70

Tested by

no test coverage detected