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

Commit cb5f8b1f by Sascha Depold

changed max listener; need to fix this in future

1 parent 7bd2a19e
Showing with 1 additions and 1 deletions
...@@ -21,7 +21,7 @@ ConnectorManager.prototype.connect = function() { ...@@ -21,7 +21,7 @@ ConnectorManager.prototype.connect = function() {
database: this.config.database database: this.config.database
}) })
this.client.setMaxListeners(1000000) this.client.setMaxListeners(Math.pow(2,32)-1)
} }
ConnectorManager.prototype.query = function(sql, callee, options) { ConnectorManager.prototype.query = function(sql, callee, options) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!