Closed fadomire closed 7 years ago
It's probably stuck as 'running'
. You need to setup some kind of way to detect such jobs and cause them to "autofail" so they can be retried.
See for example the workTimeout
option on processJobs
:
https://github.com/vsivsi/meteor-job-collection#jq--jcprocessjobstype-options-worker---anywhere
And this discussion: https://github.com/vsivsi/meteor-job-collection/search?p=2&q=workTimeout&type=Issues&utf8=✓
Thanks for the quick and usefull reply !
i understood better how to fix my issue, specially with this discussion : https://github.com/vsivsi/meteor-job-collection/issues/86
it is our dutie as dev to build what's necessary to kill zombies ;)
Hello, i'm playing with meteor-job-collection which look awesome
it seems i need to find a way to manage cases where server crash (currently everything happens on Meteor)
My jobs are saved with "repeat" option. Everything go smooth, but when crashed "processJobs" method does not pick the stored jobs that surely failed in some way during server crash.
Here is an example of a job that is not picked :
Any idea on why it does not rerun even if it is saved as repeating ?