[yum-commits] urlgrabber/grabber.py

zpavlas at osuosl.org zpavlas at osuosl.org
Thu Sep 27 10:52:01 UTC 2012


 urlgrabber/grabber.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4876b1b10e008e9d70d9cbc69d65fb35e82f5e8f
Author: Zdeněk Pavlas <zpavlas at redhat.com>
Date:   Thu Sep 27 12:51:28 2012 +0200

    Increase LOW_SPEED_LIMIT from 1Bps to 1kBps.  BZ 860181

diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index 76c3cc9..206609e 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -1372,7 +1372,7 @@ class PyCurlFileObject(object):
         if hasattr(opts, 'timeout'):
             timeout = int(opts.timeout or 0)
         self.curl_obj.setopt(pycurl.CONNECTTIMEOUT, timeout)
-        self.curl_obj.setopt(pycurl.LOW_SPEED_LIMIT, 1)
+        self.curl_obj.setopt(pycurl.LOW_SPEED_LIMIT, 1000)
         self.curl_obj.setopt(pycurl.LOW_SPEED_TIME, timeout)
 
         # ssl options


More information about the Yum-commits mailing list