You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
bytefifo.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
helper.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
manager.go Always set the merge base used to merge the commit (#15352) 4 years ago
queue.go Add queue for code indexer (#10332) 5 years ago
queue_bytefifo.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 5 years ago
queue_channel_test.go Fix Workerpool deadlock (#10283) 5 years ago
queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 4 years ago
queue_disk_channel_test.go use assignment in tests (#12734) 5 years ago
queue_disk_test.go use assignment in tests (#12734) 5 years ago
queue_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
queue_test.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
queue_wrapped.go Prevent timer leaks in Workerpool and others (#11333) 5 years ago
setting.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 5 years ago
unique_queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 5 years ago
unique_queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
unique_queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 4 years ago
unique_queue_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
unique_queue_wrapped.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 5 years ago
workerpool.go Only use boost workers for leveldb shadow queues (#15696) 4 years ago