forked from I2P_Developers/i2p.i2p
reliability threshold = median of active and nonfailing (inactive nonfailing can be a large number of 0 reliability peers)
This commit is contained in:
@ -427,8 +427,8 @@ public class ProfileOrganizer {
|
|||||||
|
|
||||||
if (_us.equals(profile.getPeer())) continue;
|
if (_us.equals(profile.getPeer())) continue;
|
||||||
|
|
||||||
// only take into account peers that aren't failing
|
// only take into account active peers that aren't failing
|
||||||
if (profile.getIsFailing())
|
if (profile.getIsFailing() || (!profile.getIsActive()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
reordered.add(profile);
|
reordered.add(profile);
|
||||||
|
Reference in New Issue
Block a user