Skip to content

Commit

Permalink
Add debug log to acquiring a connection
Browse files Browse the repository at this point in the history
(cherry picked from commit 3c3ad7f)
  • Loading branch information
akc42 authored and ben-page committed Jun 7, 2016
1 parent 85bc75a commit c490ff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/connection-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ function setUsed(pooled, waiter) {
clearTimeout(waiter.timeout);
waiter.timeout = undefined;
}
this.log('acquired connection ' + pooled.id);
waiter.callback(null, pooled.con);
}

Expand Down

0 comments on commit c490ff6

Please sign in to comment.