rsync of ledger/ and state.tgz now works on both macOS and Linux (#4845)

automerge
This commit is contained in:
Michael Vines 2019-06-26 22:10:24 -07:00 committed by Grimes
parent 27221e28f6
commit b8ae025f90
1 changed files with 2 additions and 1 deletions

View File

@ -422,7 +422,8 @@ while true; do
SECONDS=0
set -x
cd "$SOLANA_RSYNC_CONFIG_DIR"
$rsync -qPr "${rsync_entrypoint_url:?}"/config/{ledger,state.tgz} .
$rsync -qPr "${rsync_entrypoint_url:?}"/config/ledger .
$rsync -qP "${rsync_entrypoint_url:?}"/config/state.tgz .
echo "Fetched snapshot in $SECONDS seconds"
) || true
fi