AWS Thinkbox Discussion Forums

Reverse Priority in Options

Is there a way in the Repository Options to reverse the priorities so 0 is the highest priority while 100 is the lowest?

Thanks

I have not tried this, but you might be able to invert the Priority by using “Pool, Weighted, First-In-First-Out” scheduling mode instead of the default “Pool, Priority, First-In First-Out”. Then you can try to set the Priority Weight to -1.0, and all other Weights to 0.0 so that the Error count, Task count, Submission Time etc. have no effect on the Weight calculation. I would expect this to produce a Weight value that is very low when the Priority is high, and vice-versa, effectively giving you the behavior you want.

But once again, I have not tested this, so I might be wrong…

TL; DR: No you cannot reverse the priorities.

Another option would be to create an OnJobSubmitted event that does some math for you. There would be confusion here though as users would enter say “99” on submission and see “1” in the Monitor.

Privacy | Site terms | Cookie preferences