Move ActiveJob config to initializer (#56)

Reviewed-on: #56
This commit is contained in:
Andrew Tomaka 2025-01-23 13:17:48 -05:00
parent d5bc6c718e
commit 43dee1ecd9
3 changed files with 3 additions and 8 deletions

View file

@ -0,0 +1,3 @@
# Use a real queuing backend for Active Job (and separate queues per environment).
Rails.application.config.active_job.queue_adapter = :solid_queue
Rails.application.config.solid_queue.connects_to = { database: { writing: :queue } }