1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-23 15:19:38 +02:00

Report good job connection errors to Sentry
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Zach Gollwitzer 2025-01-24 13:52:40 -05:00
parent 3140835f28
commit 7e0ec4bd8f

View file

@ -11,6 +11,8 @@ Rails.application.configure do
}
end
config.good_job.on_thread_error = ->(exception) { Rails.error.report(exception) }
# 5 queue threads + 3 for job listener, cron, executor = 8 threads allocated
config.queues = {
"latency_low" => { max_threads: 1, priority: 10 }, # ~30s jobs