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

Commit e11f92f7 by Daniel Durante

We no longer care about isConnecting status when we're using a pool (to fast).

1 parent 811177eb
Showing with 1 additions and 1 deletions
......@@ -72,7 +72,7 @@ module.exports = (function() {
var emitter = new (require('events').EventEmitter)()
// in case database is slow to connect, prevent orphaning the client
if (this.isConnecting) {
if (this.isConnecting && !this.pooling) {
emitter.emit('success')
return emitter
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!