mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-28 14:23:11 +01:00
7ba1b7112f
* Only attempt to flush queue if the underlying worker pool is not finished There is a possible race whereby a worker pool could be cancelled but yet the underlying queue is not empty. This will lead to flush-all cycling because it cannot empty the pool. Signed-off-by: Andrew Thornton <art27@cantab.net> * Apply suggestions from code review Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: Gusted <williamzijl7@hotmail.com> |
||
---|---|---|
.. | ||
bytefifo.go | ||
helper.go | ||
manager.go | ||
queue_bytefifo.go | ||
queue_channel_test.go | ||
queue_channel.go | ||
queue_disk_channel_test.go | ||
queue_disk_channel.go | ||
queue_disk_test.go | ||
queue_disk.go | ||
queue_redis.go | ||
queue_test.go | ||
queue_wrapped.go | ||
queue.go | ||
setting.go | ||
unique_queue_channel_test.go | ||
unique_queue_channel.go | ||
unique_queue_disk_channel.go | ||
unique_queue_disk.go | ||
unique_queue_redis.go | ||
unique_queue_wrapped.go | ||
unique_queue.go | ||
workerpool.go |