Skip to content

Commit 975a9e6

Browse files
author
Dev Kalra
authored
set poll interval to 2 s (#1562)
1 parent cf7987f commit 975a9e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/fortuna/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/fortuna/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fortuna"
3-
version = "5.2.2"
3+
version = "5.2.3"
44
edition = "2021"
55

66
[dependencies]

apps/fortuna/src/keeper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const BACKLOG_RANGE: u64 = 1000;
5555
/// How many blocks to fetch events for in a single rpc call
5656
const BLOCK_BATCH_SIZE: u64 = 100;
5757
/// How much to wait before polling the next latest block
58-
const POLL_INTERVAL: Duration = Duration::from_secs(5);
58+
const POLL_INTERVAL: Duration = Duration::from_secs(2);
5959

6060

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

0 commit comments

Comments
 (0)