Skip to content

Commit

Permalink
Make max-runtime-instances configurable (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofziobro authored and obrok committed Dec 29, 2022
1 parent fd3ef33 commit 30305b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 30305b6

Please sign in to comment.