mirror of
https://github.com/go-gitea/gitea
synced 2024-11-08 19:11:25 +01:00
f8b21ac04a
* 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 <art27@cantab.net> * And on resume add a zeroboost if necessary Signed-off-by: Andrew Thornton <art27@cantab.net> * simplify Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
bytefifo.go | ||
helper.go | ||
manager.go | ||
queue.go | ||
queue_bytefifo.go | ||
queue_channel.go | ||
queue_channel_test.go | ||
queue_disk.go | ||
queue_disk_channel.go | ||
queue_disk_channel_test.go | ||
queue_disk_test.go | ||
queue_redis.go | ||
queue_test.go | ||
queue_wrapped.go | ||
setting.go | ||
unique_queue.go | ||
unique_queue_channel.go | ||
unique_queue_channel_test.go | ||
unique_queue_disk.go | ||
unique_queue_disk_channel.go | ||
unique_queue_redis.go | ||
unique_queue_wrapped.go | ||
workerpool.go |