Temporarily base priority on report age

This commit is contained in:
Keir Nellyer 2016-06-24 15:39:48 +01:00
parent fd64753ba0
commit d178e9112b
1 changed files with 1 additions and 0 deletions

View File

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