Variable askWorkerPoolStatus
askWorkerPoolStatus: (timeoutMs: any) => Promise<any> = askWorkerPoolStatus
Type Declaration
-
- (timeoutMs: any): Promise<any>
-
Returns Promise<any>
a promise of { [pid]: { error, memory, cpu, uptimeS } }; a
worker that did not answer in time is absent
Asks every ready request worker for its own memory and CPU time.