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 committed Aug 26, 2024
1 parent b3cbf86 commit f2b8c51
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 f2b8c51

Please sign in to comment.