Files
gitea/modules/queue
f8b21ac04a Simplify Boost/Pause logic (#18673)
* Simplify Boost/Pause logic

#18658 has added a check to see if we need to boost because there is still work to do
however the check is slightly complex and not ideal. There's no point boosting if
the queue is paused or can't scale. Therefore merge the two selects into one and add
a check to p.paused.

Signed-off-by: Andrew Thornton <[email protected]>

* And on resume add a zeroboost if necessary

Signed-off-by: Andrew Thornton <[email protected]>

* simplify

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
2022-02-08 13:53:34 -05:00
..
2022-01-22 21:22:14 +00:00
2022-01-22 21:22:14 +00:00
2022-01-22 21:22:14 +00:00
2022-01-22 21:22:14 +00:00
2022-01-22 21:22:14 +00:00
2022-01-22 21:22:14 +00:00