go-workers
go-workers copied to clipboard
Improvements to retry middleware
This PR adds some improvements to the retry middleware implemented.
- Allow configuring retry exponential backoff by using
RetryOptionsstruct inEnqueueOptions - Add
RetryMaxfield: even thoughRetrycan be either a bool or an int (when processing the job), theEnqueueOptionsstruct specifies it as a bool, so the maximum number of retries is always set to the default value of 25.RetryMaxfield allows specifying a custom maximum number of retries.
Any updates on merging this improvement?
any updates on this?
any update about it ?