Tie all these together

This commit is contained in:
Keir Nellyer 2016-07-05 16:14:30 -04:00
parent fbc1724111
commit 67213ec696

View File

@ -254,8 +254,8 @@ public class ReportManager
ReportMessage message = entry.getValue();
int serverWeight = message.getServerWeight();
double ageImpact = 15 * Math.pow(1 - 0.066666666666667, message.getDurationSinceCreation().toMinutes());
// TODO do something with all these values
priority += ageImpact;
priority += categoryReputation * serverWeight * ageImpact;
}
return priority;