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

Scheduler paused forever #872

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions