4d72a7afe381a23475112c69a5aa8369af79e607 kent Fri Jun 11 11:09:18 2010 +0000 Making it so bot delay is only called every other sequence when user has multiple sequences. diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c index 62249d6..f937ce3 100644 --- src/hg/hgBlat/hgBlat.c +++ src/hg/hgBlat/hgBlat.c @@ -21,7 +21,7 @@ #include "botDelay.h" #include "trashDir.h" -static char const rcsid[] = "$Id: hgBlat.c,v 1.127 2009/04/15 19:37:37 galt Exp $"; +static char const rcsid[] = "$Id: hgBlat.c,v 1.128 2010/06/11 11:09:18 kent Exp $"; struct cart *cart; /* The user's ui state. */ struct hash *oldVars = NULL; @@ -532,8 +532,9 @@ for (seq = seqList; seq != NULL; seq = seq->next) { printf(" "); fflush(stdout); /* prevent apache cgi timeout by outputting something */ - hgBotDelay(); oneSize = realSeqSize(seq, !isTx); + if ((seqCount&1) == 0) // Call bot delay every 2nd time starting with first time + hgBotDelay(); if (++seqCount > maxSeqCount) { warn("More than 25 input sequences, stopping at %s.",