MCPcopy Create free account
hub / github.com/celery/celery / clock

Function clock

celery/worker/control.py:348–350  ·  view source on GitHub ↗

Get current logical clock value.

(state, **kwargs)

Source from the content-addressed store, hash-verified

346
347@inspect_command()
348def clock(state, **kwargs):
349 """Get current logical clock value."""
350 return {'clock': state.app.clock.value}
351
352
353@control_command()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected