5a73e86ce8424ee217b2b8de96d3a6b1ff6fe470 braney Thu Jan 18 12:02:46 2024 -0800 limit VCF track loads to 10,000 items diff --git src/hg/hgTracks/bigBedTrack.c src/hg/hgTracks/bigBedTrack.c index a3a1903..964a8d0 100644 --- src/hg/hgTracks/bigBedTrack.c +++ src/hg/hgTracks/bigBedTrack.c @@ -382,31 +382,31 @@ conn = hAllocConnTrack(database, track->tdb); fileName = bbiNameFromSettingOrTable(track->tdb, conn, track->table); hFreeConn(&conn); } #ifdef USE_GBIB_PWD #include "gbib.c" #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. */ +/* Get the maximum number of items to grab from a bigBed file. Defaults to ten thousand . */ { static boolean set = FALSE; static unsigned maxItems = 0; if (!set) { char *maxItemsStr = cfgOptionDefault("bigBedMaxItems", "10000"); maxItems = sqlUnsigned(maxItemsStr); } return maxItems; } struct bigBedInterval *bigBedSelectRangeExt(struct track *track,