Skip to content

Commit

Permalink
Tweak retries.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Aug 20, 2024
1 parent 4c2abc4 commit 213de4c
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 @@ -67,7 +67,7 @@ func Flush(ctx context.Context, inMemDB *models.DatabaseData, dest destination.B
action = "append"
}

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

0 comments on commit 213de4c

Please sign in to comment.