Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/polecat/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ const (
// benefit since the caller already treats errors as warn-only.
// 3 retries (total backoff ~3.5s) is sufficient to ride out transient
// Dolt hiccups without punishing interactive workflows.
doltStateRetries = 3
// doltStateRetries is now managed via config.Operational.Polecat.DoltStateRetries
doltStateRetries = config.Get().Operational.Polecat.DoltStateRetries
)

// doltBackoff calculates exponential backoff with ±25% jitter for a given attempt (1-indexed).
Expand Down