You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the method creates a promise race between the execution of the actual job and a new timer, to check wheater the job is still running/expired after a set amount of time.
but this timer is never cleared after the job fails/succeeds, or after the agenda.stop() method is called, so each new job will "leak" a new timer that will be cleared only after it is expired, and these can stack up pretty quickly.
the method creates a promise race between the execution of the actual job and a new timer, to check wheater the job is still running/expired after a set amount of time.
but this timer is never cleared after the job fails/succeeds, or after the
agenda.stop()
method is called, so each new job will "leak" a new timer that will be cleared only after it is expired, and these can stack up pretty quickly.link to code
The text was updated successfully, but these errors were encountered: