help icon indicating copy to clipboard operation
help copied to clipboard

"worker_threads" library every time create new thread

Open kr-sandipprajapati opened this issue 1 year ago • 2 comments

Node.js Version

v20.16.0

NPM Version

10.8.1

Operating System

All

Subsystem

worker_threads

Description

when I am working with threads, nodeJs doesn't have any way to kill or sleep old threads. I think it is continuously creating new threads and I did not find any example to reuse my old threads.

Minimal Reproduction

No response

Output

No response

Before You Submit

  • [X] I have looked for issues that already exist before submitting this
  • [X] My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask

kr-sandipprajapati avatar Oct 07 '24 13:10 kr-sandipprajapati