-
Notifications
You must be signed in to change notification settings - Fork 864
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
Is it possible to change the delay of a delayed job? #505
Comments
|
Actually, when looking at the code, https://github.com/LearnBoost/kue/blob/master/lib/queue/job.js#L642 |
yes @laoshanlung you're right. I forgot that |
I think you are storing the job data in a hash structure with key format |
the promotion code is here https://github.com/LearnBoost/kue/blob/master/lib/kue.js#L141 |
Ok I guess I know what is going on. My use case is that the first time when a user sends a message, I create a delayed job (10s), within that 10s if any other user sends another message I need to reset the timer of the previously created delayed job so that it starts counting down from 10 again And because Kue uses
|
I have a delayed job, but I want to increase the delay, is it possible to do that?
Here is what I am having:
With the above code, the delay is still the same old value
The text was updated successfully, but these errors were encountered: