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

Skip to content

Commit e81e474

Browse files
committed
Minor adjustment
1 parent 56f0b81 commit e81e474

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,8 @@ def checkWaf():
11801180
conf.identifyWaf = True
11811181

11821182
if conf.timeout == defaults.timeout:
1183-
logger.warning("dropping timeout to 5 seconds (i.e. '--timeout=5')")
1184-
conf.timeout = 5
1183+
logger.warning("dropping timeout to %d seconds (i.e. '--timeout=%d')" % (IDS_WAF_CHECK_TIMEOUT, IDS_WAF_CHECK_TIMEOUT))
1184+
conf.timeout = IDS_WAF_CHECK_TIMEOUT
11851185

11861186
return retVal
11871187

0 commit comments

Comments
 (0)