taskiq-redis icon indicating copy to clipboard operation
taskiq-redis copied to clipboard

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

Open khizunov opened this issue 1 year ago • 2 comments

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 avatar Jul 01 '24 09:07 khizunov

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 avatar Jul 01 '24 10:07 khizunov

@s3rius

khizunov avatar Jul 03 '24 11:07 khizunov

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

khizunov avatar Sep 10 '24 05:09 khizunov

Please rebase onto main branch and we will merge it.

s3rius avatar Sep 26 '24 17:09 s3rius