This commit is contained in:
Bryan Stitt 2023-02-15 21:09:39 -08:00 committed by yenicelik
parent e1f803e91a
commit cfff3ac532

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