gitea/modules/queue
zeripath e22ee468cf
Exponential Backoff for ByteFIFO (#15724)
This PR is another in the vein of queue improvements. It suggests an
exponential backoff for bytefifo queues to reduce the load from queue
polling. This will mostly be useful for redis queues.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
2021-05-08 17:29:47 +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 Exponential Backoff for ByteFIFO (#15724) 2021-05-08 17:29:47 +01:00
queue_channel_test.go Prevent race in TestChannelQueue_Batch (#15703) 2021-05-03 17:16:59 +01:00
queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
queue_disk_channel_test.go use assignment in tests (#12734) 2020-09-06 01:50:57 +03:00
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 use assignment in tests (#12734) 2020-09-06 01:50:57 +03:00
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 Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
queue_wrapped.go Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
queue.go Add queue for code indexer (#10332) 2020-09-07 23:05:08 +08:00
setting.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
unique_queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
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 Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
workerpool.go Only use boost workers for leveldb shadow queues (#15696) 2021-05-02 08:22:30 +01:00