overleaf/libraries/metrics/uv_threadpool_size.js

6 lines
194 B
JavaScript
Raw Normal View History

2020-07-17 11:01:58 -04:00
if (!process.env.UV_THREADPOOL_SIZE) {
2020-09-11 14:18:22 -04:00
process.env.UV_THREADPOOL_SIZE = 16
// eslint-disable-next-line no-console
2020-09-11 14:18:22 -04:00
console.log(`Set UV_THREADPOOL_SIZE=${process.env.UV_THREADPOOL_SIZE}`)
2020-07-17 11:01:58 -04:00
}