This repository has been archived by the owner on May 7, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use classic scheduler for one-time jobs (#3776)
The (cron) expression based scheduler is still used for the "daily" jobs which will be executed every midnight. Those "daily" jobs however create jobs for all kinds of events during the current day, which will have to be executed only once. For those, it does not really make sense to convert a timestamp to a cron expression, which the scheduler again with lots of effort boils down again to a timestamp. Therefore they are now simply executed with a calculated delay directly using the regular scheduler. Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
- Loading branch information
Showing
2 changed files
with
42 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters