diff --git a/api/datastore/sql/sql.go b/api/datastore/sql/sql.go index b7fb6f274..8e6a9079f 100644 --- a/api/datastore/sql/sql.go +++ b/api/datastore/sql/sql.go @@ -119,7 +119,7 @@ func New(url *url.URL) (models.Datastore, error) { return nil, err } - maxIdleConns := 30 // c.MaxIdleConnections + maxIdleConns := 256 // TODO we need to strip this out of the URL probably db.SetMaxIdleConns(maxIdleConns) logrus.WithFields(logrus.Fields{"max_idle_connections": maxIdleConns, "datastore": driver}).Info("datastore dialed")