overleaf/libraries/metrics/uv_threadpool_size.js

6 lines
194 B
JavaScript
Raw Normal View History

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