fix: destroy worker only on check alive checks
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 7 Apr 2023 18:00:27 +0000 (20:00 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 7 Apr 2023 18:00:27 +0000 (20:00 +0200)
commitd2097c13847f906e289a80638248343948b7f18a
tree9107f3d58608ee5d8e617e583d3d0c8d394ac00a
parent8b4d450024ef06de939fa82f9746b005696914c0
fix: destroy worker only on check alive checks

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/cluster/dynamic.ts
src/pools/thread/dynamic.ts