Do not enforce the singleton design pattern in the worker object factory
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 23 Aug 2021 22:24:36 +0000 (00:24 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 23 Aug 2021 22:24:36 +0000 (00:24 +0200)
commit535aaa2703cd3ecaf57de713ffd5c685e2e68fb3
treeb1260990a7c214a4fdc29503a3c9029867ddbc0d
parent03551737d706ec2e6c87d69ffd2b8aa253fdff98
Do not enforce the singleton design pattern in the worker object factory

Let the caller be responsible of not duplicating pool/set reference

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/Bootstrap.ts
src/worker/WorkerFactory.ts