Skip to content

Commit

Permalink
Fix: ActiveRecord::ConnectionTimeoutError (MAYBE-RAILS-D0)
Browse files Browse the repository at this point in the history
  • Loading branch information
revise-dev[bot] authored Jan 24, 2025
1 parent 7e0ec4b commit 117436a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default: &default
adapter: postgresql
encoding: unicode
# 3 connections for Puma, 8 for GoodJob (in async mode, the default for self-hosters) = 11 connections
pool: <%= ENV.fetch("DB_POOL_SIZE") { 11 } %>
# 3 connections for Puma, 8 for GoodJob (in async mode, the default for self-hosters) = 16 connections
pool: <%= ENV.fetch("DB_POOL_SIZE") { 16 } %>
host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
user: <%= ENV.fetch("POSTGRES_USER") { nil } %>
Expand Down

0 comments on commit 117436a

Please sign in to comment.