Skip to content

Commit

Permalink
Change the check interval to slightly less than the block interval
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored and oxarbitrage committed Nov 30, 2023
1 parent a71c6e0 commit 042decc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-scan/src/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub type State = Buffer<
const INITIAL_WAIT: Duration = Duration::from_secs(10);

/// The amount of time between checking and starting new scans.
const CHECK_INTERVAL: Duration = Duration::from_secs(10);
const CHECK_INTERVAL: Duration = Duration::from_secs(30);

/// Start the scan task given state and storage.
///
Expand Down

0 comments on commit 042decc

Please sign in to comment.