Skip to content

Commit

Permalink
add spawnedProcCount to stats()
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Mar 1, 2022
1 parent da1ebcf commit 4e3d5b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BatchCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ export class BatchCluster {
internalErrorCount: this.#internalErrorCount,
startErrorRatePerMinute: this.#startErrorRate.eventsPerMinute,
msBeforeNextSpawn: Math.max(0, this.#nextSpawnTime - Date.now()),
spawnedProcCount: this.spawnedProcCount,
childEndCounts: this.childEndCounts,
ending: this.#endPromise != null,
ended: false === this.#endPromise?.pending,
Expand Down

0 comments on commit 4e3d5b5

Please sign in to comment.