Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75524c2

Browse files
committed
minor update
1 parent 4be55c8 commit 75524c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/request/connect.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,10 @@ def queryPage(value=None, place=None, content=False, getRatioValue=False, silent
579579
warnMsg += "response(s). Please use as high value for "
580580
warnMsg += "--time-sec option as possible (e.g. 10 or more)"
581581
logger.critical(warnMsg)
582+
elif not kb.testMode:
583+
warnMsg = "it is very important not to stress the network adapter's "
584+
warnMsg += "bandwidth during usage of time-based queries"
585+
singleTimeWarnMessage(warnMsg)
582586

583587
if conf.safUrl and conf.saFreq > 0:
584588
kb.queryCounter += 1

0 commit comments

Comments
 (0)