-
Notifications
You must be signed in to change notification settings - Fork 47
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
removeOnComplete(true) does not delete job when it is done #77
Comments
Does somebody have it working? |
@mmarshak I have the same problem and I will work to fix it. |
Thanks |
@mmarshak May please add a fail test(spec) for this so that i can work around your specification. Appreciated. |
Hi @lykmapipo, As I wrote in my post if I create the job, I expect that cue-scheduler will delete the job when it complete, but it does not. job = Queue.createJob(type, payload) So in my implementation I comment out the - .removeOnComplete(true); Bellow is the code I use for that - // Queue events
It will be great if the .removeOnComplete(true); was doing it job as it does for the regular Kue. Thanks |
Same problem here. Any updateon that? |
Same problem here. |
@rodrigooler Please use latest version. I merged #124. Hope it will fix the issue. |
I can not make the job auto removed when complete.
I define the job as -
job = Queue.createJob(type, payload)
.attempts(3)
.backoff( {delay: 10*1000, type:'fixed'} ) // // back of 10 seconds after each failure
.priority('normal')
.removeOnComplete(true);
And I use schedule to run it one time (not every) but it does not delete the job automatically. When I use just Kue instead it does. Any guidance ?
The text was updated successfully, but these errors were encountered: