From e95edb0ca1424f096f2e6dbfa036364e3f69f77c Mon Sep 17 00:00:00 2001 From: Pancakes Date: Thu, 23 Jan 2025 10:07:18 -0500 Subject: [PATCH] Comment out SQL max conns code --- db/db.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db.go b/db/db.go index d46a419..0e00356 100644 --- a/db/db.go +++ b/db/db.go @@ -34,10 +34,10 @@ func Init(username, password, protocol, address, database string) error { return fmt.Errorf("failed to open database connection: %s", err) } - conns := 64 + /*conns := 64 handle.SetMaxOpenConns(conns) - handle.SetMaxIdleConns(conns) + handle.SetMaxIdleConns(conns)*/ /*tx, err := handle.Begin() if err != nil {