246448930e2c91af800f5a65e090182588517d2b
max
  Tue May 9 04:53:24 2023 -0700
adding note about not-applied botDelay to measureTiming, and moving a few lines in botDelay where they belong, refs #14567

diff --git src/hg/inc/botDelay.h src/hg/inc/botDelay.h
index 811e8d1..b43d5dd 100644
--- src/hg/inc/botDelay.h
+++ src/hg/inc/botDelay.h
@@ -23,15 +23,19 @@
 
 int hgBotDelayTimeFrac(double fraction);
 /* Get suggested delay time from cgi using the specified fraction of the standard penalty. */
 
 extern int botDelayMillis;
 
 boolean earlyBotCheck(long enteredMainTime, char *cgiName, double delayFrac, int warnMs, int exitMs, char *exitType);
 /* for use before the CGI has started any
  * output or setup the cart of done any MySQL operations.  The boolean
  * return is used later in the CGI after it has done all its setups and
  * started output so it can issue the warning.  Pass in delayFrac 0.0
  * to use the default 1.0, pass in 0 for warnMs and exitMs to use defaults,
  * and exitType is either 'html' or 'json' to do that type of exit output in
  * the case of hogExit();
  */
+
+int hgBotDelayCurrWarnMs();
+/* get number of millis that are tolerated until a warning is shown on the most recent call to earlyBotCheck */
+