diff --git a/dnf/base.py b/dnf/base.py index c6edb322dc..07c0ccf2ed 100644 --- a/dnf/base.py +++ b/dnf/base.py @@ -348,8 +348,6 @@ def update_cache(self, timer=False): if since_last_makecache is not None and since_last_makecache < period: logger.info(_('Metadata cache refreshed recently.')) return False - for repo in self.repos.values(): - repo._repo.setMaxMirrorTries(1) if not self.repos._any_enabled(): logger.info(_('There are no enabled repositories in "{}".').format(