fix: increase retry defaults to 5 retries and 60s max delay
All checks were successful
check / check (push) Successful in 36s

Per sneak's feedback: DefaultMaxRetries 3→5, DefaultMaxDelay 10s→60s.

closes #62
This commit is contained in:
clawbot
2026-03-17 02:19:31 -07:00
parent 31bd6c3228
commit 6d8bb86a55

View File

@@ -11,14 +11,14 @@ import (
const (
// DefaultMaxRetries is the number of additional attempts
// after the first failure.
DefaultMaxRetries = 3
DefaultMaxRetries = 5
// DefaultBaseDelay is the initial delay before the first
// retry attempt.
DefaultBaseDelay = 1 * time.Second
// DefaultMaxDelay caps the computed backoff delay.
DefaultMaxDelay = 10 * time.Second
DefaultMaxDelay = 60 * time.Second
// backoffMultiplier is the exponential growth factor.
backoffMultiplier = 2