-
Notifications
You must be signed in to change notification settings - Fork 169
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
Problem working with resque-retry #120
Comments
I'm seeing this as well, it appears that the resque-status uuid that resque-retry passes back via resque-scheduler causes the enqueue_to call to fail (splatting the args causes an ArgumentError). |
Here's my hack, I don't think it's a good enough solution to submit a pull request #override because resque-retry passes in resque-status uuid as the first arg
def self.scheduled(queue, klass, *args)
if args.size == 2
uuid, options = args
Resque.enqueue_to(queue, klass, uuid, options)
uuid
else
self.enqueue_to(queue, self, *args)
end
end |
This is almost the type of hack i used in my system (with a little modification though). See this:
I am also looking into a solution which could turn into a pull request. |
@stevenjackson Quick question, when the job gets retried by |
Delayed retrying with "resque-retry" gem is not working in a Job class which has "resque-status" integrated.
Retrying jobs without delay is working fine i.e. if i only specify the option
@retry_limit = <no. of retries>
, then it retries that many times.But if i specify
@retry_delay = <delay_in_seconds>
OR use Exponential backoff like@backoff_strategy = [0, 60, 600, 3600, 10800, 21600]
, then it does not even retry the Job at all.I am currently looking into this. Will let you know if i have a fix for this.
The text was updated successfully, but these errors were encountered: