Revision 07f759fe
Added by Renato Botelho about 9 years ago
tools/builder_common.sh | ||
---|---|---|
2560 | 2560 |
|
2561 | 2561 |
snapshots_scp_files() { |
2562 | 2562 |
if [ -z "${RSYNC_COPY_ARGUMENTS}" ]; then |
2563 |
RSYNC_COPY_ARGUMENTS="-ave ssh --timeout=60 --bwlimit=${RSYNCKBYTELIMIT}" #--bwlimit=50
|
|
2563 |
RSYNC_COPY_ARGUMENTS="-ave ssh --timeout=60"
|
|
2564 | 2564 |
fi |
2565 | 2565 |
|
2566 | 2566 |
snapshots_update_status ">>> Copying core pkg repo to ${PKG_RSYNC_HOSTNAME}" |
tools/builder_defaults.sh | ||
---|---|---|
385 | 385 |
# Rsync data to send snapshots |
386 | 386 |
export RSYNCUSER=${RSYNCUSER:-"snapshots"} |
387 | 387 |
export RSYNCPATH=${RSYNCPATH:-"/usr/local/www/snapshots/${TARGET}/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}"} |
388 |
export RSYNCKBYTELIMIT=${RSYNCKBYTELIMIT:-"248000"} |
|
389 | 388 |
|
390 | 389 |
# staging area used on snapshots build |
391 | 390 |
STAGINGAREA=${STAGINGAREA:-"${SCRATCHDIR}/staging"} |
Also available in: Unified diff
Remove bwlimit from rsync