From 460a1ba872bc7198505e37e5180a738394868559 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 21 May 2010 11:41:49 +0000 Subject: [PATCH] fix for my imperfect calculations :) --- lib/request/connect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 7b60cd6bf..91de305f5 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -261,8 +261,7 @@ class Connect: logger.log(8, responseMsg) if conf.cpuThrottle: - minThrottleDelay, maxThrottleDelay = 0.0001, 0.1 - delay = minThrottleDelay + (maxThrottleDelay-minThrottleDelay) * conf.cpuThrottle + delay = 0.00001 * conf.cpuThrottle time.sleep(delay) return page, responseHeaders