Make final stealing less aggressive
This commit is contained in:
parent
5d4ffae6de
commit
8cdf44c4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -1215,7 +1215,7 @@ impl PeerHandler {
|
||||||
let next = match self
|
let next = match self
|
||||||
.try_steal_old_slow_piece(10.)
|
.try_steal_old_slow_piece(10.)
|
||||||
.or_else(|| self.reserve_next_needed_piece().ok().flatten())
|
.or_else(|| self.reserve_next_needed_piece().ok().flatten())
|
||||||
.or_else(|| self.try_steal_old_slow_piece(2.))
|
.or_else(|| self.try_steal_old_slow_piece(3.))
|
||||||
{
|
{
|
||||||
Some(next) => next,
|
Some(next) => next,
|
||||||
None => {
|
None => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue