Backoff Strategies
/backoff-strategies Tier 1
Four backoff functions passed to Retry / RetryIf / RetryAll. Constant, Linear, Exponential, and Exponential Jitter (the default for SmartResilience, with ±30% crypto-rand jitter to prevent thundering herd).
Signature
action contractfunc ExponentialBackoff(base, max time.Duration) func(attempt int) time.Duration