From 1e8f43ec0a4ede2b6a59675a6ccac77e34ddc170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guitaut?= Date: Thu, 28 Nov 2024 12:03:09 +0100 Subject: [PATCH] DEV: Increase pool connections to 2 in test environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In our CI env, sometimes, we see problems regarding getting a connection from the pool. As it’s currently set to 1, increasing it a bit should fix that kind of issues. --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 19c5eb52268..9885fd883d9 100644 --- a/config/database.yml +++ b/config/database.yml @@ -36,7 +36,7 @@ test: adapter: postgresql database: <%= test_db %> min_messages: warning - pool: 1 + pool: 2 reaping_frequency: 0 checkout_timeout: <%= ENV["CHECKOUT_TIMEOUT"] || 5 %> host_names: