Skip to content

Commit

Permalink
remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
mrceperka committed Nov 11, 2021
1 parent 3412ab8 commit 330dcb4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ async fn handler(
}

let cpu_usage = (100.0 * proc.cpu_usage() as f64).round() / 100.0;
println!("{:?}", filter_cpu_usage);
if let Some(cpu_usage_range) = filter_cpu_usage {
let is_in_range = (cpu_usage >= (cpu_usage_range.start as f64))
&& (cpu_usage <= (cpu_usage_range.end as f64));
Expand Down

0 comments on commit 330dcb4

Please sign in to comment.