Alex Cheema 11 mesi fa
parent
commit
dcb3ac76a8
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      test/reconnect.sh

+ 3 - 2
test/reconnect.sh

@@ -12,5 +12,6 @@ sleep 5
 kill $PID2
 sleep 5
 echo "Starting node 2 again..."
-DEBUG_DISCOVERY=7 DEBUG=7 python3 main.py --inference-engine <<parameters.inference_engine>> --node-id "node2" --listen-port 5679 --broadcast-port 5678 --chatgpt-api-port 8001 --chatgpt-api-response-timeout-secs 900 > output2.log 2>&1 &
-kill $PID1
+DEBUG_DISCOVERY=7 DEBUG=7 python3 main.py --node-id "node2" --listen-port 5679 --broadcast-port 5678 --chatgpt-api-port 8001 --chatgpt-api-response-timeout-secs 900 > output3.log 2>&1 &
+PID2=$!
+kill $PID2