From 8067c33079e9cdf210657479c3b89e3f8faa3ef6 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 13 Oct 2023 00:46:46 -0700 Subject: [PATCH] add todo --- web3_proxy/src/rpcs/one.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/web3_proxy/src/rpcs/one.rs b/web3_proxy/src/rpcs/one.rs index 2b114748..ef6d3254 100644 --- a/web3_proxy/src/rpcs/one.rs +++ b/web3_proxy/src/rpcs/one.rs @@ -976,6 +976,7 @@ impl Web3Rpc { } else if self.http_client.is_some() { // 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? + // TODO: tokio-console shows this as 1ms, but it should definitely be more than that. block_interval definitely isn't 2ms let mut i = interval(self.block_interval / 2); i.set_missed_tick_behavior(MissedTickBehavior::Skip);