Add more stack and heap to Node.js at all WeKan platforms.

Thanks to xet7 !

Related #3585
This commit is contained in:
Lauri Ojansivu 2022-02-03 20:33:58 +02:00
parent 6501173ce4
commit ff13571c71
13 changed files with 139 additions and 15 deletions

View file

@ -174,6 +174,12 @@ services:
#- MAIL_SERVICE_USER=firstname.lastname@hotmail.com
#- MAIL_SERVICE_PASSWORD=SecretPassword
#---------------------------------------------------------------
# https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132
# Add more Node heap, this is done by default at Dockerfile:
# - NODE_OPTIONS="--max_old_space_size=4096"
# Add more stack, this is done at Dockerfile:
# bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
#---------------------------------------------------------------
# ==== OPTIONAL: MONGO OPLOG SETTINGS =====
# https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-378343587
# We've fixed our CPU usage problem today with an environment