Skip to content

Commit

Permalink
Remove redundant word in worker logging
Browse files Browse the repository at this point in the history
```
[cloud-app-worker-k8s] DEBUG:procrastinate.worker.worker:Waiting for new jobs on queues queues k8s
[cloud-app-worker-email] DEBUG:procrastinate.worker.worker:Waiting for new jobs on queues queues email
```

One too many "queues"!
  • Loading branch information
mecampbellsoup authored Sep 15, 2021
1 parent f07d753 commit 783c376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procrastinate/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async def single_worker(self, worker_id: int):
async def wait_for_job(self, timeout: float):
assert self.notify_event
self.logger.debug(
f"Waiting for new jobs on queues " f"{self.base_context.queues_display}",
f"Waiting for new jobs on " f"{self.base_context.queues_display}",
extra=self.base_context.log_extra(
action="waiting_for_jobs", queues=self.queues
),
Expand Down

0 comments on commit 783c376

Please sign in to comment.