Skip to content

Commit

Permalink
set poll interval to 2 s (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev Kalra authored May 10, 2024
1 parent cf7987f commit 975a9e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/fortuna/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/fortuna/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fortuna"
version = "5.2.2"
version = "5.2.3"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion apps/fortuna/src/keeper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const BACKLOG_RANGE: u64 = 1000;
/// How many blocks to fetch events for in a single rpc call
const BLOCK_BATCH_SIZE: u64 = 100;
/// How much to wait before polling the next latest block
const POLL_INTERVAL: Duration = Duration::from_secs(5);
const POLL_INTERVAL: Duration = Duration::from_secs(2);


/// Get the latest safe block number for the chain. Retry internally if there is an error.
Expand Down

0 comments on commit 975a9e6

Please sign in to comment.