Skip to content

Commit

Permalink
misc code style correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed May 20, 2022
1 parent 4a9138c commit c95657e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ class Pool extends EventEmitter {
conn.leakProcess = setTimeout(
(conn) => {
console.log(
'A possible connection leak on the thread ' +
conn.info.threadId +
' (the connection not returned to the pool since ' +
(Date.now() - conn.lastUse) +
'ms). Has the connection.release() been called ?'
`A possible connection leak on the thread ${
conn.info.threadId
} (the connection not returned to the pool since ${
Date.now() - conn.lastUse
} ms). Has the connection.release() been called ?`
);
conn.leaked = true;
},
Expand Down

0 comments on commit c95657e

Please sign in to comment.