Skip to content

Commit

Permalink
Update GCRBackoff docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
klemmari1 committed Oct 24, 2023
1 parent 300712a commit b2e4df5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/gcrane/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ var Keychain = authn.NewMultiKeychain(google.Keychain, authn.DefaultKeychain)
// - 1M requests per 24 hours.
//
// On error, we will wait for:
// - 6 seconds (in case of very short term 429s from GCS), then
// - 1 minute (in case of temporary network issues), then
// - 10 minutes (to get around GCR 10 minute quotas), then fail.
// - 9 seconds (in case of very short term 429s from GCS), then
// - 1.5 minutes (in case of temporary network issues), then
// - 15 minutes (to get around GCR 10 minute quotas), then fail.
//
// TODO: In theory, we could keep retrying until the next day to get around the 1M limit.
func GCRBackoff() retry.Backoff {
Expand Down

0 comments on commit b2e4df5

Please sign in to comment.