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;
|
||||
|
||||
// only take into account peers that aren't failing
|
||||
if (profile.getIsFailing())
|
||||
// only take into account active peers that aren't failing
|
||||
if (profile.getIsFailing() || (!profile.getIsActive()))
|
||||
continue;
|
||||
|
||||
reordered.add(profile);
|
||||
|
Reference in New Issue
Block a user