/[smeserver]/rpms/anaconda/sme10/anaconda-centos-skip-retry-if-not-connected.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme10/anaconda-centos-skip-retry-if-not-connected.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue May 17 15:29:31 2016 UTC (8 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: anaconda-21_48_22_56-5_el7_centos, anaconda-21_48_22_159-1_el7_centos, anaconda-21_48_22_158-1_el7_centos, HEAD
Initial import

1 unnilennium 1.1 diff -uNr anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.56/pyanaconda/packaging/yumpayload.py
2     --- anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py 2015-12-08 14:36:52.533000000 +0000
3     +++ anaconda-21.48.22.56/pyanaconda/packaging/yumpayload.py 2015-12-08 14:38:51.464000000 +0000
4     @@ -648,6 +648,10 @@
5     # so that unattended installations on unreliable networks have
6     # a higher chance of finishing successfully
7     xdelay = xprogressive_delay()
8     + if not nm_is_connected():
9     + MAX_METADATA_DOWNLOAD_RETRIES = 1
10     + else:
11     + MAX_METADATA_DOWNLOAD_RETRIES = 10
12     for retry_count in xrange(0, MAX_METADATA_DOWNLOAD_RETRIES + 1):
13     if retry_count > 0:
14     # introduce a retry delay

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed