Set UV_THREADPOOL_SIZE to 128 for all processes

This commit is contained in:
James Allen 2016-10-24 10:50:44 +01:00
parent 2df5845444
commit caeac717fc
3 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,8 @@ buildKey = (key)-> "#{name}.#{hostname}.#{key}"
destructors = []
require "./uv_threadpool_size"
module.exports =
initialize: (_name) ->
name = _name

View file

@ -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",

View file

@ -0,0 +1,2 @@
process.env.UV_THREADPOOL_SIZE=128
console.log "Set UV_THREADPOOL_SIZE=#{process.env.UV_THREADPOOL_SIZE}"