vmihailenco / taskq

Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends

Home Page:https://taskq.uptrace.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to process message again when unexpected crash?

Baseris opened this issue · comments

Hello, I have a task that operates for 5 minutes. An unexpected crash may occur while processing. How can I process the message again when the application is running again?

The message is not removed from the queue until it is processed. If there is a crash - message will be automatically retried after QueueOptions.ReservationTimeout time.