From 45160ef6749f698b163d2af30231904ae76e9916 Mon Sep 17 00:00:00 2001
From: Felix Eckhofer <felix@eckhofer.com>
Date: Thu, 2 Jan 2025 23:00:15 +0100
Subject: [PATCH] Use same database for queue

This partly reverts 658ea7d7e4c73991adfebab7d96adf961afac559.

The configuration was added by solid_queue:install but we are using the
same database for storage and queue.
---
 config/environments/production.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/config/environments/production.rb b/config/environments/production.rb
index 8ef0b88..bcfd762 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -75,7 +75,6 @@ Rails.application.configure do
 
   # Use a real queuing backend for Active Job (and separate queues per environment).
   config.active_job.queue_adapter = :solid_queue
-  config.solid_queue.connects_to = { database: { writing: :queue } }
   # config.active_job.queue_name_prefix = "re_scheduled_production"
 
   config.action_mailer.perform_caching = false
-- 
GitLab