Skip to content

Commit

Permalink
refactor: update from peer review
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu authored May 31, 2024
1 parent d5d44d0 commit 65f5eb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def worker_startup(worker_state: TaskiqState): # NOTE: You need the type hint t
# NOTE: Worker state is per-worker, not shared with other workers
# NOTE: Can put anything here, any python object works
worker_state.db = MyDB()
worker_state.block_count = 0

# Any exception raised on worker startup aborts immediately:
# raise Exception # NOTE: raises StartupFailure
Expand Down

0 comments on commit 65f5eb7

Please sign in to comment.