From 52181103d2dbb0e624e6b1559b1e50e9503b25cc Mon Sep 17 00:00:00 2001 From: Ross Kaffenberger Date: Thu, 27 Feb 2025 10:59:01 -0500 Subject: [PATCH] Fix for solid queue error when db pool count mismatched Solid Queue is configured to have a pool of 4. A change was recently added to error when it detects a mismatch in the DB pool count. https://github.com/rails/solid_queue/pull/457 This change updates config/database.yml to match the Solid Queue default. --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 6ad84cb3..7e19e819 100644 --- a/config/database.yml +++ b/config/database.yml @@ -7,7 +7,7 @@ default: &default encoding: utf8 adapter: sqlite3 - pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 3 } %> + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 4 } %> timeout: 5000 extensions: - SqliteExt::Ulid