69e67f69bea818d977ea3db5f97e58a77abdab4c
galt
  Mon Apr 11 16:34:20 2016 -0700
Fixes #17163. It is now using regular hgBotDelay() in htmlOpen() and calling new function hgBotDelayNoWarn() in textOpen().

diff --git src/hg/inc/botDelay.h src/hg/inc/botDelay.h
index 46175ce..3bc2059 100644
--- src/hg/inc/botDelay.h
+++ src/hg/inc/botDelay.h
@@ -1,25 +1,27 @@
 /* botDelay - contact bottleneck server and sleep 
  * for a little bit if IP address looks like it is
  * being just too demanding. */
 
 /* Copyright (C) 2004 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
 int botDelayTime(char *host, int port, char *ip);
 /* Figure out suggested delay time for ip address in
  * milliseconds. */
 
-void botDelayCgi(char *host, int port);
+void botDelayCgi(char *host, int port, boolean noWarn);
 /* Connect with bottleneck server and sleep the
  * amount it suggests for IP address calling CGI script. */
 
 void botDelayMessage(char *ip, int millis);
 /* Print out message saying why you are stalled. */
 
 void hgBotDelay();
-/* High level bot delay call - looks up bottleneck server
- * in hg.conf. */
+/* High level bot delay call - for use with regular webpage output */ 
+
+void hgBotDelayNoWarn();
+/* High level bot delay call without warning - for use with non-webpage output */
 
 int hgBotDelayTime();
 /* Get suggested delay time from cgi. */