Fix wrong priority converting
This commit is contained in:
+1
-3
@@ -99,9 +99,7 @@ public class FlowSchedScheduledTask2CUTask implements PrioritisedExecutor.Priori
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int priority() {
|
private int priority() {
|
||||||
final int invertedPriority = Priority.TOTAL_SCHEDULABLE_PRIORITIES - this.priority.priority - 1;
|
return this.priority.priority * 7;
|
||||||
|
|
||||||
return invertedPriority * 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user