fix(ibm.d/mq): change default ExponentialBackoff attempts to 2 (#21124)
Ilya Mashchenko committed
Oct 9, 2025 at 18:55 UTC
b4259205a16ed6ef2ef04a2b47acf21344dca6f6
1 file changed
+1
-1
src/go/plugin/ibm.d/framework/protocols.go
+1
-1
@@ -203,7 +203,7 @@ func (b *ExponentialBackoff) Reset() {
203
// ShouldRetry determines if we should retry based on attempt count
204
func (b *ExponentialBackoff) ShouldRetry() bool {
205
// Retry up to 10 times (reaches max interval after ~8 attempts)
206
- return b.attempt < 10
206
+ return b.attempt < 2
207
}
208
209
// Retry executes a function with exponential backoff