This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push context deadlines inside jobs and sync ops
Synchronising with the cluster can easily take tens of seconds, so it is better to have timeouts for individual operations or small batches of operations, rather than the whole thing. Similarly, jobs can wait in the job queue for e.g., syncs to happen, so it is necessary to time them from when they _start_, not when they are requested. Lastly, fix and use `git.Repo.NoteRevList` when answering JobStatus from commit notes, since that is exactly the expensive batch of git operations that motivated it.
- Loading branch information
Showing
5 changed files
with
117 additions
and
70 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
Oops, something went wrong.