不要怂,就是干,撸起袖子干!

Commit 3334a1a4 by Sascha Depold

pass the uuid to the connection manager

1 parent 336f6017
Showing with 1 additions and 1 deletions
......@@ -15,7 +15,7 @@ TransactionManager.prototype.getConnectorManager = function(uuid) {
uuid = uuid || 'default'
if (!this.connectorManagers.hasOwnProperty(uuid)) {
var config = Utils._.clone(this.sequelize.config)
var config = Utils._.extend({ uuid: uuid }, this.sequelize.config)
if (uuid !== 'default') {
config.pool = { maxConnections: 1, useReplicaton: false }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!