Add intervals for scheduled task
#290 #348
Hi! First, thank you for the project!
In this PR, I want to add intervals for scheduled tasks. I am attaching one commit as a draft to coordinate further changes with you. I have implemented MVP, and a lot of related code has yet to be written, including documentation and tests.
The implementation is quite simple: We go through all scheduled tasks once a second and send them to the broker.
- For cron tasks, the frequency remained around a minute.
Of the additional advantages, it can be noted that tasks marked with the "time" label are scheduled with less delay.
What do you think?
#290 #348
Hi! First, thank you for the project!
In this PR, I want to add intervals for scheduled tasks. I am attaching one commit as a draft to coordinate further changes with you. I have implemented MVP, and a lot of related code has yet to be written, including documentation and tests.
The implementation is quite simple: We go through all scheduled tasks once a second and send them to the broker.
- For cron tasks, the frequency remained around a minute.
Of the additional advantages, it can be noted that tasks marked with the "time" label are scheduled with less delay.
What do you think?
Need to be merge
Also, please rebase your branch onto master. There were some changes.