-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove drift from job scheduling, by basing the next run time off the last *scheduled* run time, instead of `datetime.datetime.now()`. Additionally, `idle_seconds` is enforced to be non-negative, since it is now possible for `next_run` to be just before `now()`.
- Loading branch information
Braden Pellett
committed
Dec 14, 2020
1 parent
5aaed06
commit ab44f6d
Showing
1 changed file
with
12 additions
and
3 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