Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWhiteWu committed Nov 6, 2024
1 parent 6b1b12a commit eeed72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/src/perf/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub async fn record_usage(mem_usage_list: &mut Vec<u64>, cancel: CancellationTok
.unwrap()
.memory();
if mem_usage > DEFAULT_RSS_THRESHOLD {
mem_usage_list.push(mem_usage as u64);
mem_usage_list.push(mem_usage);
}
}
_ = cancel.cancelled() => break,
Expand Down

0 comments on commit eeed72f

Please sign in to comment.