Browse Source

HPCC-1845 Fix graph loading time
Change timeout on graph control to 15 seconds after review of 30 seconds is a configurable option and not default timeout.

Miguel Vazquez 12 years ago
parent
commit
c06c9fcbfc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      esp/files/scripts/graphgvc.js

+ 2 - 2
esp/files/scripts/graphgvc.js

@@ -609,7 +609,7 @@ function loadXGMMLGraph(xgmmlResponse) {
         if (gt != null) {
             clearTimeout(gt);
         }
-        gt = setTimeout("reloadGraph()", 30000);
+        gt = setTimeout("reloadGraph()", 15000);
     }
 
     update_details();
@@ -1034,7 +1034,7 @@ function sendWuInfoRequest() {
                 }
             }
             else {
-                gt = setTimeout("reloadGraph()", 30000);
+                gt = setTimeout("reloadGraph()", 15000);
                 hideElement('loadingMsg');
             }
         },