Don't set UV_THREADPOOL_SIZE if already set

This commit is contained in:
Simon Detheridge 2020-03-03 17:09:35 +00:00
parent 81f9260a0b
commit 9a8cddbbb6

View file

@ -1,2 +1,3 @@
process.env.UV_THREADPOOL_SIZE=16
console.log "Set UV_THREADPOOL_SIZE=#{process.env.UV_THREADPOOL_SIZE}"
unless process.env.UV_THREADPOOL_SIZE
process.env.UV_THREADPOOL_SIZE=16
console.log "Set UV_THREADPOOL_SIZE=#{process.env.UV_THREADPOOL_SIZE}"