Remove bwlimit from rsync

This commit is contained in:
Renato Botelho 2016-08-12 14:03:11 -03:00
parent 09361dcd6e
commit ece2a8bc2f
2 changed files with 1 additions and 2 deletions

View File

@ -2559,7 +2559,7 @@ snapshots_copy_to_staging_iso_updates() {
snapshots_scp_files() {
if [ -z "${RSYNC_COPY_ARGUMENTS}" ]; then
RSYNC_COPY_ARGUMENTS="-ave ssh --timeout=60 --bwlimit=${RSYNCKBYTELIMIT}" #--bwlimit=50
RSYNC_COPY_ARGUMENTS="-ave ssh --timeout=60"
fi
snapshots_update_status ">>> Copying core pkg repo to ${PKG_RSYNC_HOSTNAME}"

View File

@ -386,7 +386,6 @@ export NANOBSD_UPGRADE_TEMPLATE=${NANOBSD_UPGRADE_TEMPLATE:-"${PRODUCT_NAME}${PR
# Rsync data to send snapshots
export RSYNCUSER=${RSYNCUSER:-"snapshots"}
export RSYNCPATH=${RSYNCPATH:-"/usr/local/www/snapshots/${TARGET}/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}"}
export RSYNCKBYTELIMIT=${RSYNCKBYTELIMIT:-"248000"}
# staging area used on snapshots build
STAGINGAREA=${STAGINGAREA:-"${SCRATCHDIR}/staging"}