mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
fix for my imperfect calculations :)
This commit is contained in:
parent
9b91b30b69
commit
460a1ba872
|
@ -261,8 +261,7 @@ class Connect:
|
||||||
logger.log(8, responseMsg)
|
logger.log(8, responseMsg)
|
||||||
|
|
||||||
if conf.cpuThrottle:
|
if conf.cpuThrottle:
|
||||||
minThrottleDelay, maxThrottleDelay = 0.0001, 0.1
|
delay = 0.00001 * conf.cpuThrottle
|
||||||
delay = minThrottleDelay + (maxThrottleDelay-minThrottleDelay) * conf.cpuThrottle
|
|
||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
|
|
||||||
return page, responseHeaders
|
return page, responseHeaders
|
||||||
|
|
Loading…
Reference in New Issue
Block a user