From 058830591f6aac210be8a72d4e8dee29e4b03fe1 Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Tue, 4 Feb 2025 12:07:46 -0600 Subject: [PATCH] Increase database connection pool size --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 0443207d..81e0248d 100644 --- a/config/database.yml +++ b/config/database.yml @@ -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 } %>