From 042decc5e147c067de4f051c800e9877ae2d53a3 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 30 Nov 2023 13:36:23 +1000 Subject: [PATCH] Change the check interval to slightly less than the block interval --- zebra-scan/src/scan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-scan/src/scan.rs b/zebra-scan/src/scan.rs index 4ac469b2995..111a8fa2e88 100644 --- a/zebra-scan/src/scan.rs +++ b/zebra-scan/src/scan.rs @@ -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. ///