We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1605e53 commit 81100e5Copy full SHA for 81100e5
pkg/deploymentrecord/client.go
@@ -367,8 +367,6 @@ func parseRateLimitDelay(resp *http.Response) time.Duration {
367
var retryAfterDelay *time.Duration
368
if ra := resp.Header.Get("Retry-After"); ra != "" {
369
if seconds, err := strconv.Atoi(ra); err == nil {
370
- // Max Retry-After of 60 seconds
371
- seconds = min(seconds, 60)
372
rad := time.Duration(seconds) * time.Second
373
retryAfterDelay = &rad
374
}
0 commit comments