Skip to content

Commit

Permalink
be slightly less aggressive about comptime
Browse files Browse the repository at this point in the history
  • Loading branch information
djugei committed May 24, 2024
1 parent 48aed01 commit 2bc4d44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ fn main() {
info!("upgrades are {newsize}");
info!("saved you {saved}");
if let Some(comptime) = comptime {
info!(
"wasted {}ms on compression since arch does not provide uncompressed signatures yet",
comptime.as_millis()
debug!(
"wasted {:?} on compression since arch does not provide uncompressed signatures yet",
comptime
);
}

Expand Down Expand Up @@ -370,7 +370,7 @@ fn apply_patch(orig: &[u8], patch: &Path, new: &Path, pb: ProgressBar) -> anyhow
Err(Unavailable) => anyhow::bail!("zstd compression command failed"),
Err(NoSuchProcess | NotChild) => panic!("programming error"),
};
trace!("zstd compression took {:#?}", comptime);
trace!("zstd compression took {:?}", comptime);
handle.join().unwrap()?;
}
orig.progress.finish_and_clear();
Expand Down

0 comments on commit 2bc4d44

Please sign in to comment.