Run formatter on files
parent
a8502fcd3f
commit
693663103b
2
db/db.go
2
db/db.go
|
@ -44,7 +44,7 @@ func Init(username, password, protocol, address, database string) error {
|
|||
}
|
||||
|
||||
handle.SetMaxOpenConns(conns)
|
||||
handle.SetMaxIdleConns(conns/4)
|
||||
handle.SetMaxIdleConns(conns / 4)
|
||||
|
||||
handle.SetConnMaxIdleTime(time.Second * 10)
|
||||
|
||||
|
|
|
@ -130,4 +130,3 @@ func debugHandler(router *http.ServeMux) http.Handler {
|
|||
router.ServeHTTP(w, r)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue