Skip to content

Commit

Permalink
remove leaked no-deps-rootish
Browse files Browse the repository at this point in the history
  • Loading branch information
gjoseph92 committed Nov 9, 2022
1 parent b3b589c commit 6f0bbc5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2996,8 +2996,6 @@ def is_rootish(self, ts: TaskState) -> bool:
"""
if ts.resource_restrictions or ts.worker_restrictions or ts.host_restrictions:
return False
if not ts.dependencies:
return True
tg = ts.group
# TODO short-circuit to True if `not ts.dependencies`?
return (
Expand Down

0 comments on commit 6f0bbc5

Please sign in to comment.