Skip to content

Commit a607132

Browse files
fix: set retrier max limit to 8 sec (from 8 ms)
1 parent f8e43ab commit a607132

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util/retrier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Retrier struct {
1818
// NewRetrier returns a new retrier with exponential backoff strategy.
1919
func NewRetrier() *Retrier {
2020
return &Retrier{
21-
elastic.NewExponentialBackoff(10*time.Millisecond, 8*time.Millisecond),
21+
elastic.NewExponentialBackoff(10*time.Millisecond, 8*time.Second),
2222
}
2323
}
2424

0 commit comments

Comments
 (0)