[v2][rhel7-branch/master][PATCH] Proper retry handling

Martin Kolman mkolman at redhat.com
Tue Feb 11 20:33:48 UTC 2014


Based on feedback from Chris and Brian, I have reworked how
package download retrying works:
- we no do 10 retries (+ the initial attempt)
- we wait between attempt and the wait gets progressively longer
  (from 0.5 to 256 seconds for the final attempt)
- the while loops have been replaced by for loops and as a result
  should be both always bounded & more readable
All in all with this patch it should now be possible to install
Fedora or RHEL over a pretty shaky connection. :)

Martin Kolman (1):
  Properly retry package downloads (#924860)

 scripts/anaconda-yum | 105 +++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 86 insertions(+), 19 deletions(-)

-- 
1.8.5.3



More information about the anaconda-patches mailing list