NodeJS Worker Threads Terminate Application Early
I’ve setup a more basic version of a test after running into a problem trying to use worker threads to run queries in parallel with different data sources. This works the first time, but after I have a main thread task, it stops working the next time it tries to create workers again. It will start the workers but then the program exits trying to add them into the workerQueue array.