Merge pull request #128 from harmony-one/fix_deploy.sh

fix deploy.sh to support original model
pull/129/head
Leo Chen 6 years ago committed by GitHub
commit 08c0fcdf9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      deploy.sh

@ -73,8 +73,12 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
IFS=' ' read ip port mode shardID <<< $line
#echo $ip $port $mode
if [ "$mode" != "client" ]; then
if [ -z "$PEER" ]; then
./bin/benchmark -ip $ip -port $port -config_file $config -log_folder $log_folder $DB -min_peers $MIN &
else
./bin/benchmark -ip $ip -port $port -log_folder $log_folder $DB $PEER -min_peers $MIN &
sleep 10
sleep 5
fi
fi
done < $config

Loading…
Cancel
Save