mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 11:42:50 +01:00
round ES_HEAP_SIZE
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
{% elif total_mem >= 100000 %}
|
{% elif total_mem >= 100000 %}
|
||||||
{% set ES_HEAP_SIZE = "25000m" %}
|
{% set ES_HEAP_SIZE = "25000m" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set ES_HEAP_SIZE = total_mem / 3 %}
|
{% set ES_HEAP_SIZE = (total_mem / 3) | int %}
|
||||||
{% if ES_HEAP_SIZE > 25000 %}
|
{% if ES_HEAP_SIZE > 25000 %}
|
||||||
{% set ES_HEAP_SIZE = "25000m" %}
|
{% set ES_HEAP_SIZE = "25000m" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user