Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ async def _read_stream_iteration(self) -> None:
Get ids of pending jobs from the stream and start those jobs, remove
any finished tasks from self.tasks.
"""
count = self.max_jobs
count = self.max_jobs - self.job_counter
if self.burst and self.max_burst_jobs >= 0:
burst_jobs_remaining = self.max_burst_jobs - self._jobs_started()
if burst_jobs_remaining < 1:
Expand Down
Loading