From ceec2441596cccd7bc5249721cd9ac8487cb920f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 22 May 2023 07:18:17 +0200 Subject: [PATCH 1/1] refactor: align constants scope syntax MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/worker/WorkerConstants.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.34.1