Skip to content

The retry loop

The client attempts, catches the failure, waits according to policy, and retries until success or budget exhaustion.

graph LR
  A[Attempt] --> B{Success?}
  B -->|Yes| Done
  B -->|No| C{Retries left?}
  C -->|No| Fail
  C -->|Yes| W[Wait backoff]
  W --> A
  style Done fill:#E8F5E9
  style Fail fill:#FFEBEE