From b2e4df5b8b38bdd61d89b42a53ef4006d357ff57 Mon Sep 17 00:00:00 2001 From: Kristian Klemets Date: Tue, 24 Oct 2023 11:50:57 +0300 Subject: [PATCH] Update GCRBackoff docstring --- pkg/gcrane/copy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/gcrane/copy.go b/pkg/gcrane/copy.go index 157cd2f64..935a48771 100644 --- a/pkg/gcrane/copy.go +++ b/pkg/gcrane/copy.go @@ -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 {