97d6863c524ea374b1f29d96ce17dc0e8530507a
lrnassar
  Thu Mar 20 09:28:10 2025 -0700
10s proved to be too short, raising it to 15s to before it complains about hgTracks being down. Refs #32284

diff --git src/utils/qa/hgTracksTiming.py src/utils/qa/hgTracksTiming.py
index 8c31a6c25c1..42df7cd47b2 100644
--- src/utils/qa/hgTracksTiming.py
+++ src/utils/qa/hgTracksTiming.py
@@ -205,36 +205,36 @@
         print("Monthly reminder to check the hgTracksTiming information for any abnormalities:\n")
         if user == 'qateam':
             print("https://genecats.gi.ucsc.edu/qa/test-results/hgTracksTiming/")
         else:
             print("https://hgwdev.gi.ucsc.edu/~"+user+"/cronResults/hgTracksTiming/")   
 
 def queryServersAndReport(server,url,filePath,today,n,user):
     start_time = time.time()
     response = requests.get(url, verify=False)  # Disable SSL verification
     end_time = time.time()
     load_time = end_time - start_time
     page_content = response.text  # Get the page content
 
     # Check if the expected string is in the response
     if "END hgTracks" in page_content:
-        if load_time < 10:
+        if load_time < 15:
             problem = False
             status = "SUCCESS"
         else:
             problem = True
-            status = "FAIL - hgTracks page loaded, but load time over 10s"
+            status = "FAIL - hgTracks page loaded, but load time over 15s"
     else:
         problem = True
         status = "FAIL - Got status 200 return, but missing the 'END hgTracks' page string of a successful load"
 
     if problem == True:
         print("Potential problem with Genome Browser server.")
         print(f"URL: {url} | Status: {response.status_code} | Load Time: {load_time:.3f}s | Check: {status}")
         print("\nSee the latest timing numbers:")
         if user == 'qateam':
             print("https://genecats.gi.ucsc.edu/qa/test-results/hgTracksTiming/")
         else:
             print("https://hgwdev.gi.ucsc.edu/~"+user+"/cronResults/hgTracksTiming/")
     
     with open(filePath, "a") as file:
         file.write(f"{today}\t{load_time:.3f}s\t{response.status_code}\n")