From ceb5d93c8ee45e2fc3ca661399e6e49b4b9fae0c Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo.trentesaux@lilo.org> Date: Thu, 15 Feb 2024 16:29:32 +0100 Subject: [PATCH] fix distance oracle entrypoint (nodes/rust/duniter-v2s!242) * fix distance oracle entrypoint - update entrypoint with correct arg - remove max depth (cherry picked from commit 1cf65df00d90e0da47d5e0d0251a8baf8c056c28) --- docker/docker-distance-entrypoint | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/docker-distance-entrypoint b/docker/docker-distance-entrypoint index 3298bcdab..6717bcd24 100755 --- a/docker/docker-distance-entrypoint +++ b/docker/docker-distance-entrypoint @@ -9,12 +9,11 @@ if [ "$1" = -- ]; then else ORACLE_RESULT_DIR="${ORACLE_RESULT_DIR:-/distance}" ORACLE_EXECUTION_INTERVAL="${ORACLE_EXECUTION_INTERVAL:-1800}" - ORACLE_MAX_DEPTH="${ORACLE_MAX_DEPTH:-5}" ORACLE_RPC_URL="${ORACLE_RPC_URL:-ws://127.0.0.1:9944}" ORACLE_LOG_LEVEL="${ORACLE_LOG_LEVEL:-info}" while [ true ]; do - distance-oracle -d "$ORACLE_RESULT_DIR" -D "$ORACLE_MAX_DEPTH" -u "$ORACLE_RPC_URL" -l "$ORACLE_LOG_LEVEL" + distance-oracle --evaluation-result-dir "$ORACLE_RESULT_DIR" --rpc-url "$ORACLE_RPC_URL" --log "$ORACLE_LOG_LEVEL" echo "Waiting $ORACLE_EXECUTION_INTERVAL seconds before next execution..." sleep $ORACLE_EXECUTION_INTERVAL done -- GitLab