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.
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>
3 years ago
..
bytefifo.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
helper.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
manager.go Queue manager FlushAll can loop rapidly - add delay (#15733) 3 years ago
queue.go Add queue for code indexer (#10332) 4 years ago
queue_bytefifo.go Exponential Backoff for ByteFIFO (#15724) 3 years ago
queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_channel_test.go Prevent race in TestChannelQueue_Batch (#15703) 3 years ago
queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 3 years ago
queue_disk_channel_test.go use assignment in tests (#12734) 4 years ago
queue_disk_test.go use assignment in tests (#12734) 4 years ago
queue_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
queue_test.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
queue_wrapped.go Prevent timer leaks in Workerpool and others (#11333) 4 years ago
setting.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue_disk.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
unique_queue_disk_channel.go Only use boost workers for leveldb shadow queues (#15696) 3 years ago
unique_queue_redis.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
unique_queue_wrapped.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
workerpool.go Only use boost workers for leveldb shadow queues (#15696) 3 years ago