Skip to content

[Feature] Support option for a missing interval in the scheduler. #95

@intech

Description

@intech

👋 Hey!

I propose to add an option for the message scheduler, which will support two modes of work with intervals:

  1. Current mode by default. Task runs once per second 1,2,3,restart,9,10
    Usage example: we make requests to the API, and it makes no sense to do it more often, for example, because of the rate limits.

  2. Strict mode. The task runs once per second 1,2,3,restart,4,5,6,7,8,9,10 were 4-9 jobs processed without delay.
    Usage example: we collect data per unit of time and cannot skip the time interval to avoid a gap in the data. We take the data time from the task.

I understand that we could solve the problem another way by polling and processing all unselected intervals at once in the first trigger of the scheduler. But, this complicates the monitoring and debugging of the system. 🤔

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions