From 7418861e8c2d7bf116332a89853cda4ccf1a69a4 Mon Sep 17 00:00:00 2001 From: Pierre Delpy <75260699+PierreDelpy@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:08:56 +0200 Subject: [PATCH] fix typo functions.sh --- lib/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/functions.sh b/lib/functions.sh index 1a566a8..f5db927 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -167,12 +167,12 @@ optimizeBlazeMemoryUsage() { export BLAZE_MEMORY_CAP=$(($system_memory_in_mb/4)); fi if [ -z "$BLAZE_RESOURCE_CACHE_CAP" ]; then - available_system_memory_chuncks=$((BLAZE_MEMORY_CAP / 1000)) - if [ $available_system_memory_chuncks -eq 0 ]; then + available_system_memory_chunks=$((BLAZE_MEMORY_CAP / 1000)) + if [ $available_system_memory_chunks -eq 0 ]; then log WARN "Only ${BLAZE_MEMORY_CAP} system memory available for Blaze. If your Blaze stores more than 128000 fhir ressources it will run significally slower." export BLAZE_RESOURCE_CACHE_CAP=128000; else - export BLAZE_RESOURCE_CACHE_CAP=$((available_system_memory_chuncks * 312500)) + export BLAZE_RESOURCE_CACHE_CAP=$((available_system_memory_chunks * 312500)) fi fi }