mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
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