refactor: align constants scope syntax
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 22 May 2023 05:18:17 +0000 (07:18 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 22 May 2023 05:18:17 +0000 (07:18 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/WorkerConstants.ts

index 72d436d439f444416524d4bc5245b26fb19ed01a..635bfe529a82c79deba2ac60f6486a6c1672396b 100644 (file)
@@ -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