WorkerSummary¶
One worker's progress, as read in one poll.
current_item, shots_done and shots_total are set only when
state is running or stale. heartbeat_age is
wall_clock() - last_heartbeat (unclamped; None with no heartbeat).
since_change is monitor-clock seconds since the last observed change
(None until a change has been observed). no_update_age is
since_change when set, else heartbeat_age clamped at 0 (None with
no heartbeat); staleness and the "no update in" column both use it.
WorkerSummary ¶
WorkerSummary(worker_id: str, host: str, pid: int, state: WorkerState, items_done: int, current_item: int | None, shots_done: int | None, shots_total: int | None, heartbeat_age: float | None, since_change: float | None, no_update_age: float | None) -> None