The size is set with the UV_THREADPOOL_SIZE environment variable. Jobs beyond the pool size wait in a queue and finish in batches.
Thread pool
A fixed set of worker threads that run blocking work (files, crypto, DNS) for Node.js; default size 4.
The size is set with the UV_THREADPOOL_SIZE environment variable. Jobs beyond the pool size wait in a queue and finish in batches.