Skip to content

Commit

Permalink
chore(up): be more precise in engine time to avoid division by zero o…
Browse files Browse the repository at this point in the history
…n UP side
  • Loading branch information
arbimo committed Nov 9, 2023
1 parent d2a163a commit d166302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/grpc/server/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,6 @@ async fn main() -> Result<(), Error> {
fn add_engine_time(metrics: &mut HashMap<String, String>, start: &Instant) {
metrics.insert(
"engine_internal_time".to_string(),
format!("{:.3}s", start.elapsed().as_secs_f64()),
format!("{:.6}", start.elapsed().as_secs_f64()),
);
}

0 comments on commit d166302

Please sign in to comment.