Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gjoseph92 committed Nov 5, 2022
1 parent 70bba66 commit 711997e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1519,14 +1519,13 @@ class SchedulerState:
tasks: dict[str, TaskState]

#: Tasks in the "queued" state, ordered by priority.
#: They should generally be root-ish, but in certain cases may not be.
#: They must not have restrictions.
#: They are all root-ish.
#: Always empty if `worker-saturation` is set to `inf`.
queued: HeapSet[TaskState]

#: Tasks in the "no-worker" state.
#: They may or may not have restrictions.
#: Could contain root-ish tasks even when `worker-saturation` is a finite value.
#: Only contains root-ish tasks if `worker-saturation` is set to `inf`.
unrunnable: set[TaskState]

#: Subset of tasks that exist in memory on more than one worker
Expand Down

0 comments on commit 711997e

Please sign in to comment.