Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Poll jobs by comparing both priority and insert_time
Remove unnecessary getattr statement Add queue_priority_map to save highest priority Save the highest priority of each project in project_priority_map project_priority_map stores (priority, -timestamp) as value Add ensure_insert_time_column() Query sqlite_master in ensure_insert_time_column() Introduce create_triggers()
- Loading branch information
Showing
4 changed files
with
107 additions
and
20 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
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