Commit 8145e7e4 by Feanil Patel

Add missing length calculation.

parent 7a311ad6
......@@ -11,7 +11,7 @@ respawn limit 3 30
env PID=/var/tmp/cms.pid
#env NEW_RELIC_CONFIG_FILE={{app_base_dir}}/newrelic.ini
#env NEWRELIC={{venv_dir}}/bin/newrelic-admin
{% if ansible_processor > 0 %}
{% if ansible_processor|length > 0 %}
env WORKERS={{ ansible_processor|length }}
{% else %}
env WORKERS={{ worker_core_mult.cms }}
......
......@@ -11,7 +11,7 @@ respawn limit 3 30
env PID=/var/tmp/lms-xml.pid
#env NEW_RELIC_CONFIG_FILE={{app_base_dir}}/newrelic.ini
#env NEWRELIC={{venv_dir}}/bin/newrelic-admin
{% if ansible_processor > 0 %}
{% if ansible_processor|length > 0 %}
env WORKERS={{ ansible_processor|length }}
{% else %}
env WORKERS={{ worker_core_mult.lms_xml }}
......
......@@ -9,7 +9,7 @@ respawn limit 3 30
env PID=/var/tmp/lms.pid
#env NEW_RELIC_CONFIG_FILE={{app_base_dir}}/newrelic.ini
#env NEWRELIC={{venv_dir}}/bin/newrelic-admin
{% if ansible_processor > 0 %}
{% if ansible_processor|length > 0 %}
env WORKERS={{ ansible_processor|length }}
{% else %}
env WORKERS={{ worker_core_mult.lms }}
......
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