From 1a4ae2f10204a9fd6420515ff7e6418b68436072 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 6 Jan 2026 19:19:41 +0100 Subject: [PATCH] outpost/proxyv2: reduce max number of postgres connections (#19211) --- internal/outpost/proxyv2/postgresstore/postgresstore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/outpost/proxyv2/postgresstore/postgresstore.go b/internal/outpost/proxyv2/postgresstore/postgresstore.go index 893404fe21..f23e8e9aba 100644 --- a/internal/outpost/proxyv2/postgresstore/postgresstore.go +++ b/internal/outpost/proxyv2/postgresstore/postgresstore.go @@ -234,8 +234,8 @@ func NewPostgresStore(log *log.Entry) (*PostgresStore, error) { } // Determine connection pool settings - maxIdleConns := 10 - maxOpenConns := 100 + maxIdleConns := 4 + maxOpenConns := 4 var connMaxLifetime time.Duration if cfg.ConnMaxAge > 0 { connMaxLifetime = time.Duration(cfg.ConnMaxAge) * time.Second