mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Set UV_THREADPOOL_SIZE to 128 for all processes
This commit is contained in:
@@ -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}"
|
||||
Reference in New Issue
Block a user