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

Commit 65024a07 by Sascha Depold

keep the default timezone for transactions

1 parent ac4cee53
Showing with 2 additions and 1 deletions
......@@ -18,7 +18,8 @@ TransactionManager.prototype.getConnectorManager = function(uuid) {
var config = Utils._.extend({ uuid: uuid }, this.sequelize.config)
if (uuid !== 'default') {
config.pool = { maxConnections: 1, useReplicaton: false }
config.pool = { maxConnections: 0, useReplicaton: false }
config.keepDefaultTimezone = true
}
this.connectorManagers[uuid] = new this.ConnectorManager(this.sequelize, config)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!