Temporarily base priority on report age
This commit is contained in:
parent
fd64753ba0
commit
d178e9112b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue