When a job is forcibly cancelled by calling stop()
, the added schedule to the scheduler will no longer create new job.
#903
Labels
stop()
, the added schedule to the scheduler will no longer create new job.
#903
Things to check first
I have checked that my issue does not already have a solution in the FAQ
I have searched the existing issues and didn't find my bug already reported there
I have checked that my bug is still present in the latest release
Version
4.0.0a4
What happened?
How the schedule was created:
The schedule termination mechanism:
How can we reproduce the bug?
This only happens when the job is RUNNING, not when it's finished and therefore we can safely cancel during that time span.
Use the above code to plug in appropriate order. When
TRACK_SCHEDULE
restarted with new python runtime instance, the job no longer getting created.The problem is probably this:
Looks like
running_jobs
is still at 1 despite the job being cancelled.The text was updated successfully, but these errors were encountered: