6f3e1121bc2c2ab7e1984516ea2d5a6fae9bc33b braney Wed Aug 6 15:32:32 2014 -0700 temporarily checking in a message to warn that udcTimeout is set inhgTracks diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index e004397..652b5d6 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -5910,16 +5910,22 @@ } jsonObjectAdd(jsonForClient, "measureTiming", newJsonBoolean(measureTiming)); // js code needs to know if a highlightRegion is defined for this db char *highlightDef = cartOptionalString(cart, "highlight"); if (highlightDef && startsWith(database,highlightDef) && highlightDef[strlen(database)] == '.') jsonObjectAdd(jsonForClient, "highlight", newJsonString(highlightDef)); jsonObjectAdd(jsonForClient, "enableHighlightingDialog", newJsonBoolean(cartUsualBoolean(cart, "enableHighlightingDialog", TRUE))); hPrintf("<script type='text/javascript'>\n"); jsonPrint((struct jsonElement *) jsonForClient, "hgTracks", 0); hPrintf("</script>\n"); if (measureTiming) measureTime("Time at end of doMiddle, next up cart write"); +if (cartOptionalString(cart, "udcTimeout")) + { + warn("The Genome Brower cart currently includes the \"udcTimeout\" string. While this is useful for debugging hubs, it may negatively impact performance. To clear this variable, reset cart."); + //warn("Removing udcTimeout from cart. To set again add \"&udcTimeout=0\" to hgTracks URL"); + // cartRemove(cart,"udcTimeout"); + } }