Check if elasticsearch_jvm_xms is not null.

This commit is contained in:
Miguelangel Freitas 2017-08-20 21:06:02 -04:00
parent ff978fb89c
commit 2ba65efae7

View File

@ -20,7 +20,7 @@
# Xms represents the initial size of total heap space # Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space # Xmx represents the maximum size of total heap space
{% if elasticsearch_jvm_xms is defined %} {% if elasticsearch_jvm_xms is not none %}
{% if elasticsearch_jvm_xms < 32000 %} {% if elasticsearch_jvm_xms < 32000 %}
-Xms{{ elasticsearch_jvm_xms }}m -Xms{{ elasticsearch_jvm_xms }}m
-Xmx{{ elasticsearch_jvm_xms }}m -Xmx{{ elasticsearch_jvm_xms }}m