From cfff3ac532fe7d43ee3c29034a2d683a4dfb9f9a Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 15 Feb 2023 21:09:39 -0800 Subject: [PATCH] comment --- web3_proxy/src/rpcs/request.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/web3_proxy/src/rpcs/request.rs b/web3_proxy/src/rpcs/request.rs index 11383b08..2f2cf7b3 100644 --- a/web3_proxy/src/rpcs/request.rs +++ b/web3_proxy/src/rpcs/request.rs @@ -377,6 +377,7 @@ impl OpenRequestHandle { } else { let latency_ms = start.elapsed().as_secs_f64() * 1000.0; + // TODO: is this lock here a problem? should this be done through a channel? i started to code it, but it didn't seem to matter let mut latency_recording = self.rpc.request_latency.write(); latency_recording.record(latency_ms);