Commit 0de0f044 by hcy001

bom4

parent 3032c9b1
Showing with 1 additions and 1 deletions
......@@ -28,7 +28,7 @@ func Setup() {
}
Db.SingularTable(true)
Db.LogMode(true)
//Db.LogMode(true)
Db.DB().SetMaxIdleConns(10)
Db.DB().SetMaxOpenConns(100)
Db.DB().SetConnMaxLifetime(10 * time.Second)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment