Check if elasticsearch_jvm_xms is not null.
This commit is contained in:
parent
ff978fb89c
commit
2ba65efae7
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user