Skip to content

Commit 7e5f134

Browse files
asadbek2021hjr3
authored andcommitted
fix: remove excessive _pulseQueue call
1 parent b0d1619 commit 7e5f134

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
@@ -373,7 +373,7 @@ class Pool extends EventEmitter {
373373
if (this.options.idleTimeoutMillis && this._isAboveMin()) {
374374
tid = setTimeout(() => {
375375
this.log('remove idle client')
376-
this._remove(client, this._pulseQueue.bind(this))
376+
this._remove(client)
377377
}, this.options.idleTimeoutMillis)
378378

379379
if (this.options.allowExitOnIdle) {

0 commit comments

Comments
 (0)