mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Increase database connection pool size
This commit is contained in:
parent
32d826c047
commit
058830591f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ 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") { 13 } %>
|
||||
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 } %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue