fix: recreate the right worker type on uncaught error
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Jul 2023 20:00:44 +0000 (22:00 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Jul 2023 20:00:44 +0000 (22:00 +0200)
commit8a1260a3eca1f3fc72c9db255627daccfa7616bc
treeaedab0e03a567c5bbf9201b499baaeddb71bf405
parentf751010550f07200428ca708afb2ec1d242cf7a7
fix: recreate the right worker type on uncaught error

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