-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add queue_read_limit to limit the number of job IDs read at each poll * fix: set offset to None in case the limit is not specified * chore: format code * fix: set queue_read_limit to max_jobs if not specified * chore: refactor worker poll iteration into a separate method and write tests for queue_read_limit * chore: add history note * chore: format code * chore: format docstring * fix: remove additional call to Redis introduced by mistake * chore: remove unneeded call to create_pool in queue_read_limit tests * chore: assign queue_read_limit in one line * chore: increase delay in queue_read_limit tests for CI systems * chore: fix linting errors * fix remaining sleeps
- Loading branch information
1 parent
f0fa671
commit 3b35919
Showing
4 changed files
with
82 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters