Only tune networking for leader/validator

This commit is contained in:
Michael Vines
2018-07-02 17:35:28 -07:00
committed by Grimes
parent e09b8430ce
commit 253048f72d
3 changed files with 8 additions and 1 deletions

View File

@@ -71,6 +71,8 @@ rm -rf "$SOLANA_LEADER_CONFIG_DIR"
$rsync -vPrz "$rsync_leader_url"/config/ "$SOLANA_LEADER_CONFIG_DIR"
ls -lh "$SOLANA_LEADER_CONFIG_DIR"
tune_networking
# shellcheck disable=SC2086 # $program should not be quoted
exec $program \
-l "$SOLANA_CONFIG_DIR"/validator.json -t "$leader_address:$leader_port" \