Skip to content

Commit

Permalink
Tweaking retries (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 authored Oct 7, 2024
1 parent 1365a45 commit 668acb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processes/consumer/flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func Flush(ctx context.Context, inMemDB *models.DatabaseData, dest destination.B
return
}

retryCfg, err := retry.NewJitterRetryConfig(500, 30_000, 10, retry.AlwaysRetry)
retryCfg, err := retry.NewJitterRetryConfig(1_000, 30_000, 15, retry.AlwaysRetry)
if err != nil {
slog.Error("Failed to create retry config", slog.Any("err", err))
return
Expand Down

0 comments on commit 668acb9

Please sign in to comment.