We are experiencing a issue where multiple jobs are being processed at a time but in case if node process or pm2 is restarted then the currently ongoing jobs stays in active state and does not get removed. We have tried on node process startup to find active jobs , move them to failed status using movetoFailed function but this function actually moves to delayed status. and after that the job stays in delayed status and does not process again. Can anyone guide what could be possible reason for that or how to manage such scenarios ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We are experiencing a issue where multiple jobs are being processed at a time but in case if node process or pm2 is restarted then the currently ongoing jobs stays in active state and does not get removed. We have tried on node process startup to find active jobs , move them to failed status using movetoFailed function but this function actually moves to delayed status. and after that the job stays in delayed status and does not process again. Can anyone guide what could be possible reason for that or how to manage such scenarios ?
we are using latest bull version 4.15.1