c59e64a740c3fc788be41013586bc78bbbf42651
braney
  Thu Jan 18 11:14:35 2024 -0800
use 10,000 for the number of items to load from a bigBed

diff --git src/hg/hgTracks/bigBedTrack.c src/hg/hgTracks/bigBedTrack.c
index ca3b011..a3a1903 100644
--- src/hg/hgTracks/bigBedTrack.c
+++ src/hg/hgTracks/bigBedTrack.c
@@ -389,31 +389,31 @@
     #endif
 
     bbi = track->bbiFile = bigBedFileOpenAlias(fileName, chromAliasFindAliases);
     }
 return bbi;
 }
 
 static unsigned bigBedMaxItems()
 /* Get the maximum number of items to grab from a bigBed file.  Defaults to a million. */
 {
 static boolean set = FALSE;
 static unsigned maxItems = 0;
 
 if (!set)
     {
-    char *maxItemsStr = cfgOptionDefault("bigBedMaxItems", "1000000");
+    char *maxItemsStr = cfgOptionDefault("bigBedMaxItems", "10000");
 
     maxItems = sqlUnsigned(maxItemsStr);
     }
 
 return maxItems;
 }
 
 struct bigBedInterval *bigBedSelectRangeExt(struct track *track,
 	char *chrom, int start, int end, struct lm *lm, int maxItems)
 /* Return list of intervals in range. */
 {
 struct bigBedInterval *result = NULL;
 /* protect against temporary network error */
 struct errCatch *errCatch = errCatchNew();
 if (errCatchStart(errCatch))