mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
Use correct config scope for GoodJob
Signed-off-by: Zach Gollwitzer <zach@maybe.co>
This commit is contained in:
parent
058830591f
commit
3e06017ae1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ Rails.application.configure do
|
|||
config.good_job.on_thread_error = ->(exception) { Rails.error.report(exception) }
|
||||
|
||||
# 10 queue threads + 3 for job listener, cron, executor = 13 threads allocated
|
||||
config.queues = {
|
||||
config.good_job.queues = {
|
||||
"latency_low" => { max_threads: 3, priority: 10 }, # ~30s jobs
|
||||
"latency_low,latency_medium" => { max_threads: 4, priority: 5 }, # ~1-2 min jobs
|
||||
"latency_low,latency_medium,latency_high" => { max_threads: 2, priority: 1 }, # ~5+ min jobs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue