Skip to content

Commit b906051

Browse files
committed
fix: remove excessive _pulseQueue call
1 parent 009acb9 commit b906051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg-pool/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class Pool extends EventEmitter {
364364
if (this.options.idleTimeoutMillis) {
365365
tid = setTimeout(() => {
366366
this.log('remove idle client')
367-
this._remove(client, this._pulseQueue.bind(this))
367+
this._remove(client)
368368
}, this.options.idleTimeoutMillis)
369369

370370
if (this.options.allowExitOnIdle) {

0 commit comments

Comments
 (0)