We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18278ff commit 72f421dCopy full SHA for 72f421d
src/trace/server_timing/parse.rs
@@ -65,7 +65,7 @@ fn parse_entry(s: &str) -> crate::Result<Metric> {
65
let millis: f64 = value.parse().map_err(|_| {
66
format_err!("Server timing duration params must be a valid double-precision floating-point number.")
67
})?;
68
- dur = Some(Duration::from_micros((millis * 1000.0).round() as u64));
+ dur = Some(Duration::from_secs_f64(millis) / 1000);
69
}
70
"desc" => {
71
// Ensure quotes line up, and strip them from the resulting output
0 commit comments