mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Set UV_THREADPOOL_SIZE to 128 for all processes
This commit is contained in:
parent
2df5845444
commit
caeac717fc
3 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,8 @@ buildKey = (key)-> "#{name}.#{hostname}.#{key}"
|
|||
|
||||
destructors = []
|
||||
|
||||
require "./uv_threadpool_size"
|
||||
|
||||
module.exports =
|
||||
initialize: (_name) ->
|
||||
name = _name
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "metrics-sharelatex",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"description": "A drop-in metrics and monitoring module for node.js apps",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
2
libraries/metrics/uv_threadpool_size.coffee
Normal file
2
libraries/metrics/uv_threadpool_size.coffee
Normal file
|
@ -0,0 +1,2 @@
|
|||
process.env.UV_THREADPOOL_SIZE=128
|
||||
console.log "Set UV_THREADPOOL_SIZE=#{process.env.UV_THREADPOOL_SIZE}"
|
Loading…
Reference in a new issue