File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1826,7 +1826,7 @@ def wasLastRequestDelayed():
18261826 lowerStdLimit = average (kb .responseTimes ) + TIME_STDEV_COEFF * deviation
18271827 retVal = (threadData .lastQueryDuration >= lowerStdLimit )
18281828
1829- if not kb .testMode and retVal and conf . timeSec == TIME_DEFAULT_DELAY :
1829+ if not kb .testMode and retVal and kb . adjustTimeDelay :
18301830 adjustTimeDelay (threadData .lastQueryDuration , lowerStdLimit )
18311831
18321832 return retVal
Original file line number Diff line number Diff line change 8989from lib .core .settings import SYBASE_ALIASES
9090from lib .core .settings import BURP_SPLITTER
9191from lib .core .settings import MAX_NUMBER_OF_THREADS
92+ from lib .core .settings import TIME_DEFAULT_DELAY
9293from lib .core .settings import TIME_DELAY_CANDIDATES
9394from lib .core .settings import UNKNOWN_DBMS_VERSION
9495from lib .core .settings import WEBSCARAB_SPLITTER
@@ -1196,6 +1197,8 @@ def __cleanupOptions():
11961197 if conf .data :
11971198 conf .data = urldecode (conf .data )
11981199
1200+ kb .adjustTimeDelay = (conf .timeSec == TIME_DEFAULT_DELAY )
1201+
11991202def __setConfAttributes ():
12001203 """
12011204 This function set some needed attributes into the configuration
@@ -1237,6 +1240,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
12371240 logger .debug (debugMsg )
12381241
12391242 kb .absFilePaths = set ()
1243+ kb .adjustTimeDelay = False
12401244 kb .authHeader = None
12411245 kb .bannerFp = advancedDict ()
12421246
You can’t perform that action at this time.
0 commit comments