Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
off-by-one ☹
Browse files Browse the repository at this point in the history
  • Loading branch information
mineo committed Apr 16, 2016
1 parent a8d93be commit ff08810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abzer/abzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def run(self):
if to_process:
tasks = []
tasks.append(self.producer(to_process))
for i in range(0, self.num_processes + 1):
for i in range(0, self.num_processes):
tasks.append(self.consumer())
tasks.append(self.queue.join())
await asyncio.gather(*tasks)
Expand Down

0 comments on commit ff08810

Please sign in to comment.