Skip to content

Way to wait until all tasks are handled #350

Closed Answered by s3rius
rafalkrupinski asked this question in Q&A
Discussion options

You must be logged in to vote

@rafalkrupinski, here's a small update. Now when you shutdown worker process it will first stop accepting new tasks and will wait until all tasks are completed.

https://github.com/taskiq-python/taskiq/releases/tag/0.11.9

Here's doc about it: https://taskiq-python.github.io/guide/cli.html#graceful-and-force-shutdowns

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@s3rius
Comment options

@rafalkrupinski
Comment options

@s3rius
Comment options

Answer selected by s3rius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants