minor adjustment

This commit is contained in:
Miroslav Stampar 2010-05-21 11:51:43 +00:00
parent 460a1ba872
commit f6bffb61d3

View File

@ -261,7 +261,7 @@ class Connect:
logger.log(8, responseMsg) logger.log(8, responseMsg)
if conf.cpuThrottle: if conf.cpuThrottle:
delay = 0.00001 * conf.cpuThrottle delay = 0.00001 * (conf.cpuThrottle ** 2)
time.sleep(delay) time.sleep(delay)
return page, responseHeaders return page, responseHeaders