-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So, the problem was: job's "running" state was never clear. So of course, they would execute once, and never again. I did some sloppy job at tracking down how this state was set and clear, and messed up what was responsible for what. Now: * the job scheduler still set `job.is_running` before running it in a thread * the `job.execute` method doesn't handle the running state anymore * the job scheduler `_call` wrapper now uses `with job` to manage the job's state This should work. This time.
- Loading branch information
Showing
1 changed file
with
11 additions
and
31 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