[Yum-devel] [PATCH 6/6] enable timedhosts
Zdeněk Pavlas
zpavlas at redhat.com
Fri Jan 27 12:30:08 UTC 2012
Q: Make it configurable?
---
yum/__init__.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/yum/__init__.py b/yum/__init__.py
index 3c2f375..162d66e 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -363,6 +363,7 @@ class YumBase(depsolve.Depsolve):
# update urlgrabber defaults
mc = self._conf.max_connections
if mc > 0: default_grabber.opts.max_connections = mc
+ default_grabber.opts.timedhosts = self._conf.cachedir + '/timedhosts'
# We don't want people accessing/altering preconf after it becomes
# worthless. So we delete it, and thus. it'll raise AttributeError
--
1.7.4.4
More information about the Yum-devel
mailing list