-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erroring out if retry is enabled #9
Comments
I think that is something that should be taken care of by |
In general I agree with @dsander, but the smartest solution would probably be to not only issue a warning, but refuse to |
@bigzed That would be smart, but I wonder if we can manipulate Sidekiq's retry mechanism at all from within the middleware. |
I am not even sure if the calculation would work in all cases. If |
Maybe we simply do nothing about it, but mention it in the README as well?
|
Hey
I was wondering whether it would be a good change to refuse scheduling if the
retry
option of sidekiq is not set tofalse
. Currently, ifretry: true
is set, you might end up with multiple jobs running at the same time (one scheduled, one or more retried by Sidekiq). This behaviour seems bad, and my guess is that all users of sidekiq-repeat haveretry: false
on their jobs.Or at least issue a warning?
The text was updated successfully, but these errors were encountered: