mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-21 11:46:19 +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)
|
return fmt.Errorf("failed to open database connection: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
conns := 64
|
/*conns := 64
|
||||||
|
|
||||||
handle.SetMaxOpenConns(conns)
|
handle.SetMaxOpenConns(conns)
|
||||||
handle.SetMaxIdleConns(conns)
|
handle.SetMaxIdleConns(conns)*/
|
||||||
|
|
||||||
/*tx, err := handle.Begin()
|
/*tx, err := handle.Begin()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user