6afa9dd4343c3b66ff09f39735170ec8be5f282e braney Wed Sep 18 17:33:15 2024 -0700 add ability to set a timeout on remote loads diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index d56f2ef..b5cbb12 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -666,30 +666,39 @@ "\n" "// set the tooltip text size based on localStorage values\n" "let currTooltipSize = localStorage.getItem('tooltipTextSize');\n" "let browserTextSize = document.getElementsByName('textSize')[0];\n" "if (currTooltipSize === null) {\n" " localStorage.setItem('tooltipTextSize', browserTextSize.value);\n" "} else {\n" " updateSelectedTooltipSize(currTooltipSize);\n" "}" "document.getElementsByName('tooltipTextSize')[0].addEventListener('change', function(e) {\n" " updateSelectedTooltipSize(document.getElementsByName('tooltipTextSize')[0].selectedOptions[0].value);\n" "});\n" ); } + +if ( cfgOption("paraLoadTimeout") ) + { + hPrintf("Parallel load time out:"); + hPrintf(""); + hIntVar("paraLoadTimeout", getParaLoadTimeout(), 5); + hPrintf("milliseconds"); + } + themeDropDown(cart); hTableStart(); if (ideoTrack != NULL) { hPrintf(""); hCheckBox("ideogram", cartUsualBoolean(cart, "ideogram", TRUE)); hPrintf(""); hPrintf("Display chromosome ideogram above main graphic"); hPrintf("\n"); } hPrintf(""); hCheckBox("guidelines", cartUsualBoolean(cart, "guidelines", TRUE)); hPrintf(""); hPrintf("Show light blue vertical guidelines, or light red vertical window separators in multi-region view");