Skip to content

Commit

Permalink
Increase rootish dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Sep 18, 2024
1 parent 8bafad5 commit 927d36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3090,8 +3090,8 @@ def is_rootish(self, ts: TaskState) -> bool:
# TODO short-circuit to True if `not ts.dependencies`?
return (
len(tg) > self.total_nthreads * 2
and len(tg.dependencies) < 5
and sum(map(len, tg.dependencies)) < 5
and len(tg.dependencies) < 100
and sum(map(len, tg.dependencies)) < 500
)

def check_idle_saturated(self, ws: WorkerState, occ: float = -1.0) -> None:
Expand Down

0 comments on commit 927d36a

Please sign in to comment.