Update related to the #5784

This commit is contained in:
Miroslav Stampar
2024-09-25 13:56:41 +02:00
parent 944e90dad5
commit 9e36fd7484
3 changed files with 5 additions and 5 deletions

View File

@@ -297,11 +297,11 @@ class Connect(object):
finalCode = kwargs.get("finalCode", False)
chunked = kwargs.get("chunked", False) or conf.chunked
start = time.time()
if isinstance(conf.delay, (int, float)) and conf.delay > 0:
time.sleep(conf.delay)
start = time.time()
threadData = getCurrentThreadData()
with kb.locks.request:
kb.requestCounter += 1