Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the scheduler command merging
Merge at dequeue instead of at queue time, which allows to retain individual task info in the delayed hash, and thus check if a command is already queued or running. This also permits merging tasks with compatible --rid specifiers, like "sync all --rid sync#<n>" or "run --rid task#<n>".
- Loading branch information
Showing
1 changed file
with
74 additions
and
51 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