You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/02/13 20:45:14 UTC

git commit: refs/heads/4.1 - CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response.

Updated Branches:
  refs/heads/4.1 2ea359c5d -> cb2b0ef66


CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/cb2b0ef6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/cb2b0ef6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/cb2b0ef6

Branch: refs/heads/4.1
Commit: cb2b0ef66bcf549d498824c8e7e805d45f69a098
Parents: 2ea359c
Author: Jessica Wang <je...@citrix.com>
Authored: Wed Feb 13 11:44:31 2013 -0800
Committer: Jessica Wang <je...@citrix.com>
Committed: Wed Feb 13 11:44:31 2013 -0800

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js             |    2 +-
 ui/scripts/ui-custom/physicalResources.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cb2b0ef6/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index 026089f..ad26b34 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -26,7 +26,7 @@ var g_timezone = null;
 var g_supportELB = null;
 var g_userPublicTemplateEnabled = "true";
 var g_cloudstackversion = null;
-var g_queryAsyncJobResultInterval = 6000;
+var g_queryAsyncJobResultInterval = 3000;
 
 //keyboard keycode
 var keycode_Enter = 13;

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cb2b0ef6/ui/scripts/ui-custom/physicalResources.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/physicalResources.js b/ui/scripts/ui-custom/physicalResources.js
index a247dcf..69c0295 100644
--- a/ui/scripts/ui-custom/physicalResources.js
+++ b/ui/scripts/ui-custom/physicalResources.js
@@ -111,7 +111,7 @@
                       $loading.remove();
                     }
                   });
-                }, 3000); 		
+                }, g_queryAsyncJobResultInterval); 		
               },
               error: function(XMLHttpResponse) {
                 cloudStack.dialog.notice({ message: 'Failed to update SSL Certificate. ' + parseXMLHttpResponse(XMLHttpResponse) });