mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 23:39:04 +00:00
Add project secret & bug fix
This commit is contained in:
@@ -39,6 +39,8 @@ func (database *Database) getDB() *sql.DB {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
db.SetMaxOpenConns(50)
|
||||
|
||||
database.db = db
|
||||
} else {
|
||||
err := database.db.Ping()
|
||||
|
||||
Reference in New Issue
Block a user