-
Notifications
You must be signed in to change notification settings - Fork 64
Description
👋 Hey!
I propose to add an option for the message scheduler, which will support two modes of work with intervals:
-
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. -
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. 🤔