Move wallet airdrop retries into fullnode start script

This commit is contained in:
Michael Vines
2018-12-19 13:25:23 -08:00
committed by Grimes
parent 7b20318ee4
commit 59fdd8f6be
2 changed files with 19 additions and 11 deletions

View File

@ -18,12 +18,6 @@ for cmd in $backgroundCommands; do
echo "--- Start $cmd"
rm -f log-"$cmd".txt
multinode-demo/"$cmd".sh > log-"$cmd".txt 2>&1 &
if [[ $cmd = drone ]]; then
# Give the drone time to startup before the fullnodes attempt to airdrop
# from it (TODO: alternatively adjust `solana-wallet airdrop` to retry on
# "Connection refused" errors)
sleep 2
fi
declare pid=$!
pids+=("$pid")
echo "pid: $pid"