50a55a8ed6004c3c6634533d16cc1d1059a78821 max Tue May 9 04:56:55 2023 -0700 forgot to add file in previous commit, refs #14567 diff --git src/hg/lib/botDelay.c src/hg/lib/botDelay.c index e10bdef..8d1dc6c 100644 --- src/hg/lib/botDelay.c +++ src/hg/lib/botDelay.c @@ -284,21 +284,21 @@ int msAboveWarning = botDelayMillis - botDelayWarnMs; int retryAfterSeconds = 0; if (msAboveWarning > 0) retryAfterSeconds = 1 + (msAboveWarning / 10); hogExit(cgiName, enteredMainTime, exitType, retryAfterSeconds); } else issueWarning = TRUE; sleep1000(botDelayMillis); /* sleep when > botDelayWarnMs and < exitMs */ } } return issueWarning; /* caller can decide on their type of warning */ } /* boolean earlyBotCheck() */ -int hgBotWarnMs() +int hgBotDelayCurrWarnMs() /* get number of millis that are tolerated until a warning is shown on the most recent call to earlyBotCheck */ { return botDelayWarnMs; }