mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
* 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]>