Skip to content

Commit

Permalink
Update README.md example
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Nov 27, 2024
1 parent 475973a commit 5f51b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn network_request() -> Result(String, NetworkError) {
}
pub fn main() {
persevero.new(wait_time: 500, backoff: int.multiply(_, 2))
persevero.exponential_backoff(500, 2)
|> persevero.max_wait_time(5000)
|> persevero.execute(
allow: fn(error) {
Expand Down

0 comments on commit 5f51b10

Please sign in to comment.