From 17c21bd3b96163037cf9807896c60970c419e477 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 6 Nov 2023 17:48:55 -0800 Subject: [PATCH] MissedTickBehavior::Delay --- web3_proxy/src/rpcs/one.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/rpcs/one.rs b/web3_proxy/src/rpcs/one.rs index 161b070f..e3825710 100644 --- a/web3_proxy/src/rpcs/one.rs +++ b/web3_proxy/src/rpcs/one.rs @@ -987,7 +987,7 @@ impl Web3Rpc { // there is a "watch_blocks" function, but a lot of public nodes (including llamanodes) do not support the necessary rpc endpoints // TODO: is 1/2 the block time okay? let mut i = interval(self.block_interval / 2); - i.set_missed_tick_behavior(MissedTickBehavior::Skip); + i.set_missed_tick_behavior(MissedTickBehavior::Delay); loop { let block_result = self