You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jamie-chang-globality
changed the title
Retries should ignore Shutdown exception for
Retries should ignore Shutdown exception from ShutdownNotifications
Apr 11, 2024
Issues
GitHub issues are for bugs. If you have questions, please ask them on the mailing list.
Checklist
What OS are you using?
macOS 14.1
What version of Dramatiq are you using?
1.16.0
What did you do?
Setup a dramatiq project with Retries and ShutdownNotification middlewares
Run a tasks on the worker
Interrupt the worker with ctrl-c or otherwise
What did you expect would happen?
No retries being attempted
What happened?
Retries being attempted but shutdown does happen. For async tasks the problem is more severe as the retry is carried out so it delays the shutdown.
Reproduce
Create two actors
Run the actors with a broker that includes the following middleware
and ctrl-c to trigger shutdown
The text was updated successfully, but these errors were encountered: