Skip to content

Conversation

@aslafy-z
Copy link

@aslafy-z aslafy-z commented Mar 31, 2023

Fixes #72

For 800 images:
Before: ~3m20s
After: ~10s

This depends on google/go-containerregistry#1628. At least, backoff strategy will not be applied before that PR is released.

@aslafy-z aslafy-z marked this pull request as ready for review April 3, 2023 11:02
@aslafy-z
Copy link
Author

aslafy-z commented Apr 3, 2023

@jpreese Here you go, you can check the result at: https://github.com/aslafy-z/sinker/releases/tag/v0.19.0-rc.1

Copy link
Author

@aslafy-z aslafy-z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait for release of upstream and upgrade


remoteOptions := []remote.Option{
remote.WithAuthFromKeychain(authn.DefaultKeychain),
remote.WithRetryBackoff(remote.Backoff{
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


remoteOptions := []remote.Option{
remote.WithAuthFromKeychain(authn.DefaultKeychain),
remote.WithRetryBackoff(remote.Backoff{
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check what's the status of the withRetryBackoff pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parallelize copy/client.ImageExistsAtRemote calls

1 participant