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

automerge
This commit is contained in:
mergify[bot]
2019-06-26 22:45:44 -07:00
committed by Grimes
parent 5db377f743
commit be79efe9b7

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