d991ba970c957cf1cf454ddb19257fdb0a56bf82
hiram
Mon Jun 21 14:25:38 2021 -0700
do not need the extra comment about the elimination of the hgBotDelay refs #23217
diff --git src/hg/cartDump/cartDump.c src/hg/cartDump/cartDump.c
index 2cfe27c..4633e11 100644
--- src/hg/cartDump/cartDump.c
+++ src/hg/cartDump/cartDump.c
@@ -54,34 +54,30 @@
{
char *db = cartString(cart, "db");
struct trackDb *tdb = hTrackDbForTrack(db, trackName);
if (tdb != NULL && tdbIsComposite(tdb))
{
struct lm *lm = lmInit(0);
cartTdbTreeCleanupOverrides(tdb,cart,oldVars,lm);
lmCleanup(&lm);
}
}
return;
}
// To discourage hacking, call bottleneck
-/* used to have hgBotDelay() here, replaced with earlyBotCheck()
- * at the beginning of main() to output message here if in delay time
- * 2021-06-21 - Hiram
- */
if (issueBotWarning)
{
char *ip = getenv("REMOTE_ADDR");
botDelayMessage(ip, botDelayMillis);
}
if (asTable)
{
jsIncludeFile("jquery.js",NULL); // required by utils.js
jsIncludeFile("utils.js",NULL);
jsIncludeFile("ajax.js",NULL);
printf("Show as plain text.
",CART_DUMP_AS_TABLE);
printf("