Update: change Mbps to MiB/s

This commit is contained in:
pcmid 2021-10-25 18:11:46 +08:00
parent 8b4027e3d6
commit 18713515b9
No known key found for this signature in database
GPG key ID: ABB53028C38EA9E0
3 changed files with 4 additions and 4 deletions

View file

@ -216,7 +216,7 @@ async fn async_main(opts: Opts, spawner: BlockingSpawner) -> anyhow::Result<()>
(progress as f64 / total as f64) * 100f64
};
info!(
"[{}]: {:.2}% ({:.2}), down speed {:.2} Mbps, fetched {}, remaining {:.2} of {:.2}, uploaded {:.2}, peers: {{live: {}, connecting: {}, queued: {}, seen: {}}}",
"[{}]: {:.2}% ({:.2}), down speed {:.2} MiB/s, fetched {}, remaining {:.2} of {:.2}, uploaded {:.2}, peers: {{live: {}, connecting: {}, queued: {}, seen: {}}}",
idx,
downloaded_pct,
SF::new(progress),