Skip to content

Commit

Permalink
Fix calculation of exponential delay in flow chart (#2005)
Browse files Browse the repository at this point in the history
Fix value and power being swapped.
  • Loading branch information
janher authored Mar 1, 2024
1 parent 44668fb commit 8c2041d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/strategies/retry.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ stateDiagram-v2
state if_state_step2 <<choice>>
state if_state_step3 <<choice>>
exponential: Delay * AttemptNumber^2
exponential: Delay * 2^AttemptNumber
exponentialWJitter: Decorrelated Jitter Backoff V2
compare: MaxDelay < BaseDelay
setBase: Set BaseDelay
Expand Down

0 comments on commit 8c2041d

Please sign in to comment.