mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
The default is 50, which we believe was causing too much CPU contention in prod during restarts. This commit lowers the max to 20. The django-command-line script needs to be restarted manually to pick up this change. (imported from commit c2d097d2141be50b6222efb4a34142108c241cce)
3 lines
271 B
Bash
Executable File
3 lines
271 B
Bash
Executable File
#!/bin/sh -x
|
|
while true; do python /home/humbug/humbug-deployments/current/manage.py runfcgi socket=/home/humbug/humbug-deployments/current/fastcgi-socket outlog=/home/humbug/logs/app.out errlog=/humbug/humbug/logs/app.err daemonize=False maxchildren=20; sleep 0.2; done
|