b4023f4709db5d75e7410627e98ff6f42f28154c
hiram
  Fri Jun 3 11:19:49 2011 -0700
hgLoadBed is also a problem on the RR and needs a time out exit
diff --git src/hg/lib/web.c src/hg/lib/web.c
index ceae4b0..1e85b9b 100644
--- src/hg/lib/web.c
+++ src/hg/lib/web.c
@@ -1106,31 +1106,31 @@
 
 if ((retDb == NULL) || !hDbExists(retDb))
     {
     retDb = hDefaultDb();
     }
 
 /* If genomes don't match, then get the default db for that genome */
 if (differentWord(genome, hGenome(retDb)))
     {
     retDb = hDefaultDbForGenome(genome);
     }
 
 return retDb;
 }
 
-unsigned long expireSeconds = 0;
+static unsigned long expireSeconds = 0;
 /* phoneHome business */
 static void cgiApoptosis(int status)
 /* signal handler for SIGALRM for phoneHome function and CGI expiration */
 {
 if (expireSeconds > 0)
     {
     /* want to see this error message in the apache error_log also */
     fprintf(stderr, "cgiApoptosis: %lu seconds\n", expireSeconds);
     /* most of our CGIs post a polite non-fatal message with this errAbort */
     errAbort("procedures have exceeded timeout: %lu seconds, function has ended.\n", expireSeconds);
     }
 exit(0);
 }
 
 static void phoneHome()