Skip to content

No handling for non-cluster worker threads? #656

@pies

Description

@pies

Hi,

Is there a way to get multi-threaded workers to report metrics? Thanks!

I.e.

import {spawn, Worker} from 'threads';

const worker = await spawn(
      new Worker('worker-code', params as any),
      {timeout: 40 * MINUTE_IN_MS},
) as ModuleThread<any>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions