Set drone address to always be the initial network entry point (#1847)

* Set drone address to always be the initial network entry point, so that even when leaders rotate the client can still find the drone

* Extract drone address as a separate argument to bench-tps

* Add drone port to client.sh instead of setting it in bench-tps

* Add drone entrypoint to scripts

* Fix build error
This commit is contained in:
carllin
2018-11-16 19:56:26 -08:00
committed by Michael Vines
parent 7fe50d6402
commit cf95708c18
4 changed files with 26 additions and 8 deletions

View File

@ -20,7 +20,7 @@ usage() {
}
if [[ -z $1 ]]; then # default behavior
$solana_bench_tps --identity config-private/client-id.json --network 127.0.0.1:8001 --duration 90
$solana_bench_tps --identity config-private/client-id.json --network 127.0.0.1:8001 --drone 127.0.0.1:9900 --duration 90
else
$solana_bench_tps "$@"
fi