From 4ead6ba31b740d9e9ee865a615cabe87d89dac76 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 19 May 2026 20:32:35 +0000 Subject: [PATCH] Increase DB connections to 10 Seeing if it helps sort out the DB pool getting exhausted Issue: #3 --- db/connection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/db/connection.go b/db/connection.go index ac05cd1a..bcecc89f 100644 --- a/db/connection.go +++ b/db/connection.go @@ -217,6 +217,7 @@ func InitializeDatabase(ctx context.Context, uri string) error { } return nil } + config.MaxConns = 10 db, err := pgxpool.NewWithConfig(ctx, config) if err != nil { return fmt.Errorf("new pool: %w", err)