The personal finance app for everyone
Report good job connection errors to Sentry
Zach Gollwitzer7e0ec4bd8fad
diff --git a/config/initializers/good_job.rb b/config/initializers/good_job.rbindex 7649e5af..c6e3d33e 100644--- a/config/initializers/good_job.rb+++ b/config/initializers/good_job.rb@@ -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 allocatedconfig.queues = {"latency_low" => { max_threads: 1, priority: 10 }, # ~30s jobs