This commit is contained in:
Denys Kondratenko 2025-04-03 21:15:07 -04:00 committed by GitHub
commit 9820416e01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ func NewServer(dsn string, opts ...ServerOpt) (*Server, error) {
return nil, err
}
db.SetMaxOpenConns(1)
db.SetMaxIdleConns(1)
db.SetMaxIdleConns(-1)
logger.Info("Established new database connection", "fingerprint", fingerprint)