From 8ad96c8184a49a85a3f9d41895483187c94c1f44 Mon Sep 17 00:00:00 2001 From: Krzysztof Ziobro Date: Mon, 19 Dec 2022 15:06:55 +0100 Subject: [PATCH] Make max-runtime-instances configurable --- docker/docker_entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/docker_entrypoint.sh b/docker/docker_entrypoint.sh index fe1b244382..3a1dbc07fc 100644 --- a/docker/docker_entrypoint.sh +++ b/docker/docker_entrypoint.sh @@ -32,6 +32,7 @@ TELEMETRY_VERBOSITY_LVL=${TELEMETRY_VERBOSITY_LVL:-'0'} UNIT_CREATION_DELAY=${UNIT_CREATION_DELAY:-300} DB_CACHE=${DB_CACHE:-1024} RUNTIME_CACHE_SIZE=${RUNTIME_CACHE_SIZE:-2} +MAX_RUNTIME_INSTANCES=${MAX_RUNTIME_INSTANCES:-8} BACKUP_PATH=${BACKUP_PATH:-${BASE_PATH}/backup-stash} if [[ "true" == "$PURGE_BEFORE_START" ]]; then @@ -60,6 +61,7 @@ ARGS=( --enable-log-reloading --db-cache "${DB_CACHE}" --runtime-cache-size "${RUNTIME_CACHE_SIZE}" + --max-runtime-instances "${MAX_RUNTIME_INSTANCES}" ) if [[ -n "${BOOT_NODES:-}" ]]; then