Update streaming if checks

This commit is contained in:
Igor Katson 2024-04-26 09:26:56 +01:00
parent 2b315a6524
commit 0a895c5b9c
3 changed files with 44 additions and 13 deletions

View file

@ -312,7 +312,7 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
};
let peer_stats = &live_stats.snapshot.peer_stats;
info!(
"[{}]: {:.2}% ({:.2} / {:.2}), ↓{:.2} MiB/s, ↑{:.2} MiB/s ({:.2}){}, {{live: {}, queued: {}, dead: {}}}",
"[{}]: {:.2}% ({:.2} / {:.2}), ↓{:.2} MiB/s, ↑{:.2} MiB/s ({:.2}){}, {{live: {}, queued: {}, dead: {}, known: {}}}",
idx,
downloaded_pct,
SF::new(progress),
@ -324,6 +324,7 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
peer_stats.live,
peer_stats.queued + peer_stats.connecting,
peer_stats.dead,
peer_stats.seen,
);
}
});