-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remote.WithJobs and use it in remote.MultiWrite
- default parallel is 4 - an error is returned if WithParallel is called with a value <= 0 We can probably reuse this to fetch and push blobs elsewhere in remote. MultiWrite'ing 123 distroless images with WithJobs(100) took 4s compared to 11s for the default.
- Loading branch information
Showing
2 changed files
with
24 additions
and
8 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