Add project secret & bug fix

This commit is contained in:
simon987
2019-02-19 19:38:54 -05:00
parent 94c3ce3267
commit f235bfb588
27 changed files with 443 additions and 54 deletions

View File

@@ -39,6 +39,8 @@ func (database *Database) getDB() *sql.DB {
logrus.Fatal(err)
}
db.SetMaxOpenConns(50)
database.db = db
} else {
err := database.db.Ping()