Skip to content

Commit

Permalink
vine: submit more when hungry (#3991)
Browse files Browse the repository at this point in the history
* vine: hungry submit

* remove paren

* add paren
  • Loading branch information
JinZhou5042 authored Dec 3, 2024
1 parent ca1b4d1 commit 469f1da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def _dask_execute(self, dsk, keys):
enqueued_calls
and (not self.submit_per_cycle or submitted < self.submit_per_cycle)
and (not self.max_pending or pending < self.max_pending)
and self.hungry()
):
self.submit(enqueued_calls.pop())
submitted += 1
Expand Down

0 comments on commit 469f1da

Please sign in to comment.