forgejo/modules/queue
zeripath aa65a607e4
Queue manager FlushAll can loop rapidly - add delay (#15733)
* Queue manager FlushAll can loop rapidly - add delay

Add delay within FlushAll to prevent rapid loop when workers are busy

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

* as per lunny

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

Co-authored-by: 6543 <6543@obermui.de>
2021-05-12 00:22:08 +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 Queue manager FlushAll can loop rapidly - add delay (#15733) 2021-05-12 00:22:08 +01:00
queue.go
queue_bytefifo.go Exponential Backoff for ByteFIFO (#15724) 2021-05-08 17:29:47 +01:00
queue_channel.go
queue_channel_test.go Prevent race in TestChannelQueue_Batch (#15703) 2021-05-03 17:16:59 +01:00
queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 2021-05-02 08:22:30 +01:00
queue_disk_channel_test.go
queue_disk_test.go
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
setting.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
unique_queue.go
unique_queue_channel.go
unique_queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02: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_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
unique_queue_wrapped.go
workerpool.go Only use boost workers for leveldb shadow queues (#15696) 2021-05-02 08:22:30 +01:00