Skip to content

Commit 6b5243f

Browse files
committed
refactor(pool): don't explicitly create new connection on reset
1 parent 5434962 commit 6b5243f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/core/connection/pool.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,10 +725,6 @@ Pool.prototype.reset = function(callback) {
725725
}
726726

727727
resetPoolState(this);
728-
729-
// create an initial connection, and kick off execution again
730-
createConnection(this);
731-
732728
if (typeof callback === 'function') {
733729
callback(null, null);
734730
}

0 commit comments

Comments
 (0)