Skip to content

Commit

Permalink
Removed one more console.log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Ozias committed Dec 1, 2017
1 parent c7cca95 commit ba47275
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ function closeIdleConnectionsInArray(array, maxIdle) {
var conn = array[i];
if (typeof conn === 'object' && conn.conn !== null) {
if (conn.lastIdle < maxLastIdle) {
console.log("closing connection because it has been idle for " + (time - conn.lastIdle) + "ms");
conn.conn.close(function(err) { });
array.splice(i, 1);
}
Expand Down

0 comments on commit ba47275

Please sign in to comment.