Skip to content

Commit 967832e

Browse files
committed
fix: be more tolerant of errors
1 parent 7f2bd5b commit 967832e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/cosmic-swingset/bin/ag-nchainz

+4-1
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,11 @@ start-relayer)
232232
fi
233233

234234
echo "$ rly config add-paths $PATHCONFIG/"
235-
rly config add-paths $PATHCONFIG/
235+
while ! rly config add-paths $PATHCONFIG/; do
236+
sleep 3
237+
done
236238

239+
echo "$ rly link $path --timeout=3s -d"
237240
try=0
238241
while ! rly tx link $path --timeout=3s -d >> "nchainz/logs/$path.log" 2>&1; do
239242
try=$(( $try + 1 ))

0 commit comments

Comments
 (0)