Fix worker pool superfluous creation by using a singleton class.
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 18 Jan 2021 16:33:36 +0000 (17:33 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 18 Jan 2021 16:33:36 +0000 (17:33 +0100)
commitf98fbdb9a436347eff2c0ba9590543d1d021db00
tree80ac8d4824428c880ad38daef19b282d5c9420a0
parent17991e8cf5f39801cdba8bd4682576c40e62dc4d
Fix worker pool superfluous creation by using a singleton class.

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