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);