Skip to content

Commit

Permalink
Fix backoff examples in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjallstrom authored and michaelbull committed Mar 12, 2024
1 parent dfcc211 commit e549c0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Blog entitled ["Exponential Backoff And Jitter"][aws-backoff].
> ```
```kotlin
retry(binaryExponentialBackoff(base = 10L, max = 5000L)) {
retry(binaryExponentialBackoff(min = 10L, max = 5000L)) {
/* code */
}
```
Expand All @@ -142,7 +142,7 @@ retry(binaryExponentialBackoff(base = 10L, max = 5000L)) {
> ```
```kotlin
retry(fullJitterBackoff(base = 10L, max = 5000L)) {
retry(fullJitterBackoff(min = 10L, max = 5000L)) {
/* code */
}
```
Expand All @@ -158,7 +158,7 @@ retry(fullJitterBackoff(base = 10L, max = 5000L)) {
> ```
```kotlin
retry(equalJitterBackoff(base = 10L, max = 5000L)) {
retry(equalJitterBackoff(min = 10L, max = 5000L)) {
/* code */
}
```
Expand All @@ -173,7 +173,7 @@ retry(equalJitterBackoff(base = 10L, max = 5000L)) {
> ```
```kotlin
retry(decorrelatedJitterBackoff(base = 10L, max = 5000L)) {
retry(decorrelatedJitterBackoff(min = 10L, max = 5000L)) {
/* code */
}
```
Expand Down

0 comments on commit e549c0e

Please sign in to comment.