[ARVADOS] updated: 2.1.0-654-g47cbcd477
Git user
git at public.arvados.org
Thu Apr 15 18:24:49 UTC 2021
Summary of changes:
lib/cloud/ec2/ec2.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 47cbcd47789be77f3a1c44ba605853f50c448e8a (commit)
from 1ac725479b10ba08e5e8ab4dc70fe456d903855e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 47cbcd47789be77f3a1c44ba605853f50c448e8a
Author: Tom Clegg <tom at curii.com>
Date: Thu Apr 15 14:21:55 2021 -0400
17529: Update comment.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/cloud/ec2/ec2.go b/lib/cloud/ec2/ec2.go
index 48f069611..071c95006 100644
--- a/lib/cloud/ec2/ec2.go
+++ b/lib/cloud/ec2/ec2.go
@@ -351,8 +351,8 @@ func (err rateLimitError) EarliestRetry() time.Time {
func wrapError(err error, throttleValue *atomic.Value) error {
if request.IsErrorThrottle(err) {
- // Back off exponentially until a create call either
- // succeeds or returns a non-throttle error.
+ // Back off exponentially until an upstream call
+ // either succeeds or returns a non-throttle error.
d, _ := throttleValue.Load().(time.Duration)
d = d*3/2 + time.Second
if d < throttleDelayMin {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list