1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-07 06:25:19 +02:00

Increase good_job threads

This commit is contained in:
Josh Pigford 2025-02-04 12:06:05 -06:00
parent bdec61f312
commit 32d826c047
2 changed files with 5 additions and 5 deletions

View file

@ -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") { 11 } %>
pool: <%= ENV.fetch("DB_POOL_SIZE") { 13 } %>
host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
user: <%= ENV.fetch("POSTGRES_USER") { nil } %>