Skip to content

Commit

Permalink
Update scheduler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored Dec 18, 2024
1 parent 3bf8576 commit da45cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3082,7 +3082,7 @@ def is_rootish(self, ts: TaskState) -> bool:
to override this heuristic.
"""
# Check explicitly marked IO tasks
if ts.run_spec and ts.run_spec.io_task:
if ts.run_spec and ts.run_spec.data_producer_task:
return True

if ts.resource_restrictions or ts.worker_restrictions or ts.host_restrictions:
Expand Down

0 comments on commit da45cb5

Please sign in to comment.