diff --git a/dockerfiles/evmapp/entrypoint.sh b/dockerfiles/evmapp/entrypoint.sh index 459d847..2a31e1f 100755 --- a/dockerfiles/evmapp/entrypoint.sh +++ b/dockerfiles/evmapp/entrypoint.sh @@ -125,11 +125,12 @@ if [ "${SCNODE_CERT_SIGNING_ENABLED:-}" = "true" ]; then echo "Error: When SCNODE_CERT_SIGNING_ENABLED=true and SCNODE_REMOTE_KEY_MANAGER_ENABLED=true SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS needs to be set." sleep 5 exit 1 - if [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS:-}" ]; then - # setting SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS if provided - REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="" - REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="$(echo -en "\n numOfParallelRequests = ${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS}")" - export REMOTE_KEY_MANAGER_PARALLEL_REQUESTS + if [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS:-}" ]; then + # setting SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS if provided + REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="" + REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="$(echo -en "\n numOfParallelRequests = ${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS}")" + export REMOTE_KEY_MANAGER_PARALLEL_REQUESTS + fi fi if [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_ADDRESS:-}" ]; then