Skip to content

Commit

Permalink
chore: increase pending transaction polling rate (#1118)
Browse files Browse the repository at this point in the history
* chore: reduce pending transaction polling rate

* increase retries
  • Loading branch information
carneiro-cw authored Jun 14, 2024
1 parent 8e837ed commit 456c50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/infra/blockchain_client/pending_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ impl<'a> PendingTransaction<'a> {
state: PendingTxState::InitialDelay(delay),
provider,
tx_hash,
interval: Box::new(interval(Duration::from_secs(1))),
retries_remaining: 3,
interval: Box::new(interval(Duration::from_millis(10))),
retries_remaining: 100,
}
}
}
Expand Down

0 comments on commit 456c50e

Please sign in to comment.