From: Jérôme Benoit Date: Wed, 20 Sep 2023 21:43:09 +0000 (+0200) Subject: refactor: strong type CircularArray instantiation X-Git-Tag: v2.7.2~22 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c52475b8fe99897281a7b0acfac5d4cc40d7f4d7;p=poolifier.git refactor: strong type CircularArray instantiation Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/worker-node.ts b/src/pools/worker-node.ts index 5a25f8d9..6eb2d646 100644 --- a/src/pools/worker-node.ts +++ b/src/pools/worker-node.ts @@ -233,17 +233,17 @@ implements IWorkerNode { failed: 0 }, runTime: { - history: new CircularArray() + history: new CircularArray() }, waitTime: { - history: new CircularArray() + history: new CircularArray() }, elu: { idle: { - history: new CircularArray() + history: new CircularArray() }, active: { - history: new CircularArray() + history: new CircularArray() } } } @@ -274,17 +274,17 @@ implements IWorkerNode { failed: 0 }, runTime: { - history: new CircularArray() + history: new CircularArray() }, waitTime: { - history: new CircularArray() + history: new CircularArray() }, elu: { idle: { - history: new CircularArray() + history: new CircularArray() }, active: { - history: new CircularArray() + history: new CircularArray() } } }