comment
This commit is contained in:
parent
bc306f62d4
commit
91cab8ffe2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user