Skip to content

Commit

Permalink
Remove recursion in task spec
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Oct 31, 2024
1 parent 9da5824 commit ae61cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/shuffle/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def _mean_shard_size(shards: Iterable) -> int:
return size // count if count else 0


def p2p_barrier(id: ShuffleId, run_ids: list[int]) -> int:
def p2p_barrier(id: ShuffleId, *run_ids: int) -> int:
try:
return get_worker_plugin().barrier(id, run_ids)
except Reschedule as e:
Expand Down

0 comments on commit ae61cd6

Please sign in to comment.