Skip to content

Commit

Permalink
Converts seconds into milliseconds (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jun 3, 2023
1 parent aa6110d commit 41d05f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn render_status_paragraph<'a>(status: &'a StatusResponse, stats: &'a StatsR
]),
Spans::from(vec![
Span::styled("Avg Processing Time: ", Style::default()),
Span::styled(format!("{}ms", stats.avg_processing_time), value_style),
Span::styled(format!("{}ms", (stats.avg_processing_time * 1000.0) as i16), value_style),
]),
Spans::from(vec![
Span::styled("Version: ", Style::default()),
Expand Down

0 comments on commit 41d05f1

Please # to comment.