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
Is there an existing issue that is already proposing this?
I have searched the existing issues
Is your feature request related to a problem? Please describe it
The problem here is long running crons which take longer than the recurring time, for example, if I have a cron which runs every 60 seconds, but during high loads it takes 100 seconds to complete, multiple jobs will run, leading to higher load on our services/database etc.
Describe the solution you'd like
I would love a flag/options in the options object to pass something like waitUntilFinished boolean which if passed and true it will not run the same job while an existing one is still running.
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
The problem here is long running crons which take longer than the recurring time, for example, if I have a cron which runs every 60 seconds, but during high loads it takes 100 seconds to complete, multiple jobs will run, leading to higher load on our services/database etc.
Describe the solution you'd like
I would love a flag/options in the options object to pass something like
waitUntilFinished
boolean which if passed and true it will not run the same job while an existing one is still running.Teachability, documentation, adoption, migration strategy
As above.
What is the motivation / use case for changing the behavior?
Reducing load on application with multiple same jobs running.
The text was updated successfully, but these errors were encountered: