def policy

bend-kit-hairpin@0.13.0.1 · hairpin.bend:24

import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpin
import Base
import bend-kit-retry@0.2.0.0/retry.bend as Retry

24# One attempt, the first included; backoff from 500 ms, doubled to at most 30 s; no deadline.
25def policy() -> Retry.Policy:
26  Retry.Policy{1n, 500n, 30000, None{}}

Uses (2)

Used by (1)