Remove old slow peer stats computation

This commit is contained in:
Igor Katson 2023-11-20 01:19:24 +00:00
parent 88c2f9e926
commit 123859328f
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 11 additions and 40 deletions

View file

@ -55,7 +55,7 @@ async fn main() -> Result<(), anyhow::Error> {
async move {
loop {
tokio::time::sleep(Duration::from_secs(1)).await;
let stats = handle.torrent_state().stats_snapshot(true);
let stats = handle.torrent_state().stats_snapshot();
info!("stats: {stats:?}");
}
}