Skip to content

Commit

Permalink
add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
0xverin committed Aug 12, 2024
1 parent d083219 commit 119e4d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/run_parachain_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ function main {
sudo chown -R 1000:1000 $WORKER_BASEDIR

restart_parachain_services
sleep 30
sleep 300 # wait for parachain to start
CONTAINER_ID=$(docker ps --format "{{.ID}}" --filter "name=para-aio" --latest)
echo "Parachain container ID: $CONTAINER_ID"
docker logs -f $CONTAINER_ID
restart_worker_services
sleep 120 # wait for worker to start

docker ps

exit
}

Expand Down

0 comments on commit 119e4d7

Please sign in to comment.