mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a66780bfff
Use one shared worker pool for all queues with 0-#CPU workers rather than separate pools per queue with 2-10*#CPU workers each.
2 lines
86 B
Ruby
2 lines
86 B
Ruby
ActiveJob::Base.queue_adapter = :async
|
|
ActiveJob::Base.queue_adapter.immediate = true
|