Skip to content

Commit d5b33d7

Browse files
authored
Don't prevent NodeJS from closing to run acquisition timeout error
1 parent 839733b commit d5b33d7

File tree

1 file changed

+1
-0
lines changed
  • packages/bolt-connection/src/pool

1 file changed

+1
-0
lines changed

packages/bolt-connection/src/pool/pool.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class Pool {
113113
)
114114
}
115115
}, this._acquisitionTimeout)
116+
timeoutId.unref();
116117

117118
request = new PendingRequest(key, acquisitionContext, config, resolve, reject, timeoutId, this._log)
118119
allRequests[key].push(request)

0 commit comments

Comments
 (0)