MCPcopy
hub / github.com/celery/celery / active

Function active

celery/worker/control.py:440–443  ·  view source on GitHub ↗

List of tasks currently being executed.

(state, safe=False, **kwargs)

Source from the content-addressed store, hash-verified

438
439@inspect_command(alias='dump_active')
440def active(state, safe=False, **kwargs):
441 """List of tasks currently being executed."""
442 return [request.info(safe=safe)
443 for request in state.tset(worker_state.active_requests)]
444
445
446@inspect_command(alias='dump_revoked')

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected