a3f698ff4a4e761c2852870ccfb90af28cb6fe31 max Thu Nov 30 04:48:39 2023 -0800 reducing again the bottleneck warning trigger limits for hgGeneGraph, no redmine, email diff --git src/hg/pyLib/hgLib.py src/hg/pyLib/hgLib.py index 2dc1de1..ec5575e 100644 --- src/hg/pyLib/hgLib.py +++ src/hg/pyLib/hgLib.py @@ -52,31 +52,31 @@ verboseLevel = 0 cgiArgs = None # like in the kent tree, we keep track of whether we have already output the content-type line contentLineDone = False # show the bot delay warning message before other printing is done? doWarnBot = False # current bot delay in milliseconds botDelayMsecs = 0 # two global variables: the first is the botDelay limit after which the page is slowed down and a warning is shown # the second is the limit after which the page is not shown anymore botDelayWarn = 1000 -botDelayBlock = 5000 +botDelayBlock = 2000 jksqlTrace = False def warn(format, *args): print (format % args) def errAbort(msg, status=None, headers = None): " show msg and abort. Like errAbort.c " printContentType(status=status, headers=headers) print(msg) exit(0) def debug(level, msg): " output debug message with a given verbosity level " if verboseLevel >= level: