Commit b88fa2ea by Feanil Patel

Spawn a worker for each cpu core.

parent 11c35b3a
......@@ -12,7 +12,7 @@ respawn limit 3 30
env PID=/var/tmp/xserver.pid
env NEW_RELIC_CONFIG_FILE={{ app_base_dir }}/newrelic.ini
env NEWRELIC={{ venv_dir }}/bin/newrelic-admin
env WORKERS=4
env WORKERS={{ ansible_processor|length }}
env PORT={{ xserver_port }}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=xserver_aws_settings
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment