taskiq-python / taskiq-redis

Broker and result backend for taskiq
MIT License
35 stars 17 forks source link

fix #65: avoid worker crash in case connection is broken #64

Open khizunov opened 2 months ago

khizunov commented 2 months ago

The issue is that if the connection is disrupted (due to a Redis restart or temporary connectivity issues), the Taskiq worker crashes, interrupting all ongoing handlers. For example, any long-running tasks will be interrupted and will not complete their work.

khizunov commented 2 months ago

Can you please describe when this feature is required, because taskiq worker automatically restarts if anything goes wrong?

Sure, I was going to open an issue.

The issue is that if the connection is disrupted (due to a Redis restart or temporary connectivity issues), the Taskiq worker crashes, interrupting all ongoing handlers. For example, any long-running tasks will be interrupted and will not complete their work.

khizunov commented 2 months ago

@s3rius

khizunov commented 6 days ago

@s3rius did you have a chance to look at it?