mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #24 from overleaf/spd-dont-overwrite-threadpool-setting
Don't set UV_THREADPOOL_SIZE if already set
This commit is contained in:
commit
1fac5ec6d6
3 changed files with 1892 additions and 4 deletions
1889
libraries/metrics/package-lock.json
generated
1889
libraries/metrics/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "metrics-sharelatex",
|
||||
"version": "2.4.0",
|
||||
"version": "2.5.0",
|
||||
"description": "A drop-in metrics and monitoring module for node.js apps",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue