Skip to content

Commit

Permalink
Fix for solid queue error when db pool count mismatched
Browse files Browse the repository at this point in the history
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.

rails/solid_queue#457

This change updates config/database.yml to match the Solid Queue
default.
  • Loading branch information
rossta committed Feb 27, 2025
1 parent 0f11d7e commit 5218110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5218110

Please sign in to comment.