Skip to content

Commit

Permalink
fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymao committed Dec 13, 2022
1 parent 388436c commit 03a448a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ async def process(self) -> None:
job.status = Status.ACTIVE
job.attempts += 1
await job.update()
context = {"worker": self, "job": job}
context = {**self.context, "job": job}
await self._before_process(context)
logger.info("Processing %s", job)

Expand Down

0 comments on commit 03a448a

Please sign in to comment.