Factor tune_system() out of multinode-demo/ (#4138)

* Remove x bit from ulimit-n.sh

* Factor tune_system() out of multinode-demo/
This commit is contained in:
Michael Vines
2019-05-03 10:40:02 -07:00
committed by GitHub
parent 5b2a82a951
commit c8ed41167a
6 changed files with 52 additions and 44 deletions

View File

@ -62,7 +62,11 @@ accounts: $accounts_config_dir
======================================================================
EOF
tune_system
if [[ -z $CI ]]; then # Skip in CI
# shellcheck source=scripts/tune-system.sh
source "$SOLANA_ROOT"/scripts/tune-system.sh
fi
rsync_url() { # adds the 'rsync://` prefix to URLs that need it
declare url="$1"