mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-20 23:51:28 +08:00
Comment out SQL max conns code
This commit is contained in:
parent
87a3d6d290
commit
e95edb0ca1
4
db/db.go
4
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user