Merge pull request #126 from ikatson/bugfix-steal-2024-04
Fix a bug in stealing code
This commit is contained in:
commit
bf01929ccb
2 changed files with 2 additions and 3 deletions
|
|
@ -142,7 +142,6 @@ impl PeerStates {
|
|||
begin: req.offset,
|
||||
length: req.size,
|
||||
})));
|
||||
live.inflight_requests.remove(&req);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -321,8 +321,8 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
|
|||
up_speed.mbps(),
|
||||
SF::new(live_stats.snapshot.uploaded_bytes),
|
||||
eta,
|
||||
peer_stats.live + peer_stats.connecting,
|
||||
peer_stats.queued,
|
||||
peer_stats.live,
|
||||
peer_stats.queued + peer_stats.connecting,
|
||||
peer_stats.dead,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue