tape: improve backup task log format
This commit is contained in:
parent
affc224aca
commit
713a128adf
|
@ -374,7 +374,7 @@ impl PoolWriter {
|
||||||
|
|
||||||
let elapsed = start_time.elapsed()?.as_secs_f64();
|
let elapsed = start_time.elapsed()?.as_secs_f64();
|
||||||
worker.log(format!(
|
worker.log(format!(
|
||||||
"wrote {:.2} MB ({} MB/s)",
|
"wrote {:.2} MB ({:.2} MB/s)",
|
||||||
bytes_written as f64 / (1024.0*1024.0),
|
bytes_written as f64 / (1024.0*1024.0),
|
||||||
(bytes_written as f64)/(1024.0*1024.0*elapsed),
|
(bytes_written as f64)/(1024.0*1024.0*elapsed),
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue