From: Jérôme Benoit Date: Mon, 22 May 2023 05:18:17 +0000 (+0200) Subject: refactor: align constants scope syntax X-Git-Tag: v1.2.14~28 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ceec2441596cccd7bc5249721cd9ac8487cb920f;hp=c3da35d496cbb2c78e85fb3d2e125ffd6fd297f4;p=e-mobility-charging-stations-simulator.git refactor: align constants scope syntax Signed-off-by: Jérôme Benoit --- diff --git a/src/worker/WorkerConstants.ts b/src/worker/WorkerConstants.ts index 72d436d4..635bfe52 100644 --- a/src/worker/WorkerConstants.ts +++ b/src/worker/WorkerConstants.ts @@ -3,12 +3,12 @@ export class WorkerConstants { /* This is intentional */ }); - static readonly DEFAULT_ELEMENT_START_DELAY = 0; - static readonly DEFAULT_WORKER_START_DELAY = 500; - static readonly POOL_MAX_INACTIVE_TIME = 60000; - static readonly DEFAULT_POOL_MIN_SIZE = 4; - static readonly DEFAULT_POOL_MAX_SIZE = 16; - static readonly DEFAULT_ELEMENTS_PER_WORKER = 1; + public static readonly DEFAULT_ELEMENT_START_DELAY = 0; + public static readonly DEFAULT_WORKER_START_DELAY = 500; + public static readonly POOL_MAX_INACTIVE_TIME = 60000; + public static readonly DEFAULT_POOL_MIN_SIZE = 4; + public static readonly DEFAULT_POOL_MAX_SIZE = 16; + public static readonly DEFAULT_ELEMENTS_PER_WORKER = 1; private constructor() { // This is intentional