diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-04 11:40:23 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-04 11:40:23 -0700 |
commit | 5712d6c80f9be604abf2c293a86aedc8985d1916 (patch) | |
tree | 03d0cf9b44725416e689fe5be6d9f20fe460ce42 /cnf | |
parent | 5d402047d0368c0122d2f21e21bb5ff5f9b17473 (diff) | |
download | portage-5712d6c80f9be604abf2c293a86aedc8985d1916.tar.gz portage-5712d6c80f9be604abf2c293a86aedc8985d1916.tar.bz2 portage-5712d6c80f9be604abf2c293a86aedc8985d1916.zip |
Bug #339642 - Make --sync try all addresses.
Diffstat (limited to 'cnf')
-rw-r--r-- | cnf/make.conf | 4 | ||||
-rw-r--r-- | cnf/make.globals | 2 |
2 files changed, 4 insertions, 2 deletions
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" |