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

@ -320,7 +320,7 @@ impl ApiInternal {
fn api_stats(&self, idx: usize) -> Result<StatsResponse> {
let mgr = self.mgr_handle(idx)?;
let snapshot = mgr.torrent_state().stats_snapshot(true);
let snapshot = mgr.torrent_state().stats_snapshot();
let estimator = mgr.speed_estimator();
// Poor mans download speed computation