Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
src/worker/WorkerConstants.ts: add
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed Mar 5, 2022
1 parent 3fa0f0e commit 6f96009
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/worker/WorkerConstants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default class WorkerConstants {
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;
}

0 comments on commit 6f96009

Please sign in to comment.