tech: updated xorm libs

This commit is contained in:
Torkel Ödegaard
2017-03-31 12:54:39 +02:00
parent bd3f825a6e
commit a7babfb7cf
91 changed files with 8656 additions and 6343 deletions

View File

@ -65,7 +65,7 @@ func (e *MysqlExecutor) initEngine() error {
e.log.Debug("getEngine", "connection", cnnstr)
engine, err := xorm.NewEngine("mysql", cnnstr)
engine.SetMaxConns(10)
engine.SetMaxOpenConns(10)
engine.SetMaxIdleConns(10)
if err != nil {
return err