We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0eadb4 commit 0443a18Copy full SHA for 0443a18
pkg/chunk/aws/retryer.go
@@ -42,7 +42,7 @@ func (r *retryer) RetryRules(req *request.Request) time.Duration {
42
43
// ShouldRetry returns if the failed request is retryable.
44
func (r *retryer) ShouldRetry(req *request.Request) bool {
45
- return req.IsErrorRetryable() || req.IsErrorThrottle()
+ return r.Ongoing() && (req.IsErrorRetryable() || req.IsErrorThrottle())
46
}
47
48
// MaxRetries is the number of times a request may be retried before
0 commit comments