fix: increase retry interval

This commit is contained in:
Vincent Van der Kussen 2025-05-06 16:22:06 +02:00
parent ba421d7dd8
commit 569463484f

View file

@ -18,7 +18,7 @@ func Retry(ctx context.Context, maxTries int, f func() error) error {
var err error
backoffFunc := backoff.ExponentialBackoffWithLimit(2, 200*time.Millisecond, 2*time.Second)
backoffFunc := backoff.ExponentialBackoffWithLimit(2, 200*time.Millisecond, 30*time.Second)
for try := 0; try < maxTries; try++ {
if ctx.Err() != nil {