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

Brian C. Lane bcl at redhat.com
Tue Feb 11 20:57:53 UTC 2014


On Tue, Feb 11, 2014 at 09:33:48PM +0100, Martin Kolman wrote:
> 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

Ack, after fixing the 2 issues discussed on IRC.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list