0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-19 04:45:44 +01:00
gitea/modules/queue
zeripath 0590176a23
Only use boost workers for leveldb shadow queues (#15696)
* The leveldb shadow queue of a persistable channel queue should always start with 0
workers and just use boost to add additional workers if necessary.

* create a zero boost so that if there are no workers in a pool - boost to start the workers

* actually set timeout appropriately on boosted workers

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-02 08:22:30 +01:00
..
bytefifo.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
helper.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
manager.go Always set the merge base used to merge the commit (#15352) 2021-04-10 09:27:29 +01:00
queue_bytefifo.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
queue_channel_test.go
queue_channel.go
queue_disk_channel_test.go
queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 2021-05-02 08:22:30 +01:00
queue_disk_test.go
queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
queue_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
queue_test.go
queue_wrapped.go
queue.go
setting.go
unique_queue_channel.go
unique_queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 2021-05-02 08:22:30 +01:00
unique_queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
unique_queue_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
unique_queue_wrapped.go
unique_queue.go
workerpool.go Only use boost workers for leveldb shadow queues (#15696) 2021-05-02 08:22:30 +01:00