mirror of
https://github.com/discourse/discourse.git
synced 2024-11-21 16:38:15 -06:00
FIX: Increase defer queue length (#24200)
It's important that there is a limit, but the current limit is too restrictive.
This commit is contained in:
parent
85c2cc2f9e
commit
5c92d7da22
@ -10,7 +10,7 @@ module Scheduler
|
||||
@async = !Rails.env.test?
|
||||
@queue =
|
||||
WorkQueue::ThreadSafeWrapper.new(
|
||||
WorkQueue::FairQueue.new(500) { WorkQueue::BoundedQueue.new(10) },
|
||||
WorkQueue::FairQueue.new(500) { WorkQueue::BoundedQueue.new(100) },
|
||||
)
|
||||
|
||||
@mutex = Mutex.new
|
||||
|
Loading…
Reference in New Issue
Block a user