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