Skip to content

Commit

Permalink
Merge pull request #80 from holaplex/abdul/1s-delay
Browse files Browse the repository at this point in the history
Set maximum delay to 1s
  • Loading branch information
imabdulbasit authored Oct 11, 2023
2 parents d614db8 + b3e87bf commit eb1e99e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer/src/solana.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ macro_rules! with_retry {
&ExponentialBuilder::default()
.with_jitter()
.with_min_delay(Duration::from_millis(30))
.with_max_delay(Duration::from_secs(1))
.with_max_times(25),
)
.notify(|err: &ClientError, dur: Duration| {
Expand Down

0 comments on commit eb1e99e

Please sign in to comment.