-
Notifications
You must be signed in to change notification settings - Fork 163
Retry options #68
Copy link
Copy link
Open
Description
Hi,
I've been looking at the retry options and I've face something strange. Maybe I just misunderstood.
In https://github.com/jrallison/go-workers/blob/master/enqueue.go#L24 you can specify if you wish to retry the task, and the max number of retry.
But, in https://github.com/jrallison/go-workers/blob/master/middleware_retry.go#L58 the retry_count option is used as the actual number of time the job have been tried.
With this, we can't configure a custom retry count, and I don't really see the point of the RetryCount in EnqueueOptions.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels