Tie all these together
This commit is contained in:
parent
fbc1724111
commit
67213ec696
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user