80094ad7168ce2e636ae8a28c742c32b174dfb92 braney Thu Sep 26 13:26:12 2024 -0700 allow users to change parallelFetch.timeout from the configure screen diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index d56f2ef..42b7ab2 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -666,30 +666,35 @@ "\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" ); } +hPrintf("<TR><TD>Parallel load time out:"); +hPrintf("<TD style=\"text-align: right\">"); +hIntVar("parallelFetch.timeout", getParaLoadTimeout(), 3); +hPrintf("<TD>seconds<TD></TR>"); + themeDropDown(cart); hTableStart(); if (ideoTrack != NULL) { hPrintf("<TR><TD>"); hCheckBox("ideogram", cartUsualBoolean(cart, "ideogram", TRUE)); hPrintf("</TD><TD>"); hPrintf("Display chromosome ideogram above main graphic"); hPrintf("</TD></TR>\n"); } hPrintf("<TR><TD>"); hCheckBox("guidelines", cartUsualBoolean(cart, "guidelines", TRUE)); hPrintf("</TD><TD>"); hPrintf("Show light blue vertical guidelines, or light red vertical window separators in multi-region view");