fooneyp – 12-56 Jan 12

I have a node project that converts files so I set up workers to run faster and it does by a lot. The problem is it creates a new worker for every single file at once. With 3k files it's really bad.
UU
Unknown User97d ago
S
ScriptyChris96d ago
If you want to limit amount of workers created, you can chunk this process by using some queue to avoid having more than N workers/files evaluated at a time (depending on how many cores/threads does a system where the script is executed has)
UU
Unknown User94d ago