[Yum-devel] [PATCH] honor retries config option at mirror group level rather than grabber level
Mike McLean
mikem.rtp at gmail.com
Thu Jun 28 13:22:12 UTC 2012
Currently yum's retries config option is not honored because, though
it is passed to urlgrabber, the failure callback for urlgrabber always
re-raises the exception preventing retries.
This patch moves the retry mechanism to the mirror level. Mirrors are
allowed to fail $retries times before they are removed, but yum still
advances to the next mirror on each failure. This allows for the
configured number of retries, without stalling on a completely broken
mirror.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-honor-retries-config-option-at-mirror-group-level-ra.patch
Type: application/octet-stream
Size: 2036 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20120628/a55c43f8/attachment.obj>
More information about the Yum-devel
mailing list