From 5712d6c80f9be604abf2c293a86aedc8985d1916 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 4 Oct 2010 11:40:23 -0700 Subject: Bug #339642 - Make --sync try all addresses. --- cnf/make.conf | 4 +++- cnf/make.globals | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'cnf') diff --git a/cnf/make.conf b/cnf/make.conf index b08e81cf4..8d07752f1 100644 --- a/cnf/make.conf +++ b/cnf/make.conf @@ -194,7 +194,9 @@ # PORTAGE_RSYNC_RETRIES sets the number of times portage will attempt to retrieve # a current portage tree before it exits with an error. This allows # for a more successful retrieval without user intervention most times. -#PORTAGE_RSYNC_RETRIES="3" +# If set to a negative number, then retry until all possible addresses are +# exhausted. +#PORTAGE_RSYNC_RETRIES="-1" # # PORTAGE_RSYNC_EXTRA_OPTS can be used to feed additional options to the rsync # command used by `emerge --sync`. This will not change the default options diff --git a/cnf/make.globals b/cnf/make.globals index 9ba10444b..39ea548b9 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -88,7 +88,7 @@ PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" # Number of times 'emerge --sync' will run before giving up. -PORTAGE_RSYNC_RETRIES="3" +PORTAGE_RSYNC_RETRIES="-1" # Number of seconds rsync will wait before timing out. #RSYNC_TIMEOUT="180" -- cgit v1.2.3-65-gdbad