only base the thresholds on peers who are not in recovery

This commit is contained in:
jrandom
2004-08-26 18:46:25 +00:00
committed by zzz
parent f36ce3d245
commit e3379b31cb

View File

@ -535,6 +535,10 @@ public class ProfileOrganizer {
if (profile.getIsFailing() || (!profile.getIsActive()))
continue;
// dont bother trying to make sense of things below the baseline
if (profile.getCapacityValue() <= CapacityCalculator.GROWTH_FACTOR)
continue;
totalCapacity += profile.getCapacityValue();
totalIntegration += profile.getIntegrationValue();
reordered.add(profile);