Skip to content

Commit

Permalink
A0-1668 Make runtime cache configurable (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofziobro authored Dec 13, 2022
1 parent a4bf9a1 commit 0e1a271
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 @@ -31,6 +31,7 @@ TELEMETRY_URL=${TELEMETRY_URL:-'wss://telemetry.polkadot.io/submit/'}
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}
BACKUP_PATH=${BACKUP_PATH:-${BASE_PATH}/backup-stash}

if [[ "true" == "$PURGE_BEFORE_START" ]]; then
Expand Down Expand Up @@ -58,6 +59,7 @@ ARGS=(
--unsafe-ws-external --unsafe-rpc-external
--enable-log-reloading
--db-cache "${DB_CACHE}"
--runtime-cache-size "${RUNTIME_CACHE_SIZE}"
)

if [[ -n "${BOOT_NODES:-}" ]]; then
Expand Down

0 comments on commit 0e1a271

Please sign in to comment.