Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Scheduler paused forever #872

Open
ghost opened this issue Feb 25, 2019 · 0 comments
Open

Scheduler paused forever #872

ghost opened this issue Feb 25, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 25, 2019

I found if my project is paused, I can not recover my project while my project only product many on_cronjob tasks every n seconds.

My case:

Run on_start every 5 seconds.
After my project paused, my project active_tasks was filled by on_cronjob tasks.
My project _paused is "checking" forever.

Solution:

Change the code:
make cnt +1 before judging the task's type is self.scheduler.TASK_PACK

Pull Requests: #871

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants