From 3d40282f1b7a281d29260c3f7567ccafc9719c2b Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 7 Dec 2022 00:39:36 +0100 Subject: Change postgres connection timeout (#21790) --- config/database.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/database.yml b/config/database.yml index 127a78abf..bfb53f21b 100644 --- a/config/database.yml +++ b/config/database.yml @@ -2,6 +2,7 @@ default: &default adapter: postgresql pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %> timeout: 5000 + connect_timeout: 15 encoding: unicode sslmode: <%= ENV['DB_SSLMODE'] || "prefer" %> -- cgit