coopernurse / node-pool

Generic resource pooling for node.js
2.37k stars 258 forks source link

Add destroyTimeoutMillis option #289

Closed cressie176 closed 3 years ago

cressie176 commented 3 years ago

This PR adds the destroyTimeoutMillis pool option. When specified a destroy operation will timeout if the number of milliseconds is reached, causing a factoryDestroyError event to be emitted by the pool. The default value is null and if unspecified no timeout is added.

Kikobeats commented 3 years ago

released at 3.8.0 🎉

cressie176 commented 3 years ago

Thank you very much!