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

[23/50] [abbrv] git commit: refs/heads/qemu-img - CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response.

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/4e7da000
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/4e7da000
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/4e7da000

Branch: refs/heads/qemu-img
Commit: 4e7da0001d983aca351fc97b2385f6a462aa09be
Parents: ceb44ac
Author: Jessica Wang <je...@citrix.com>
Authored: Wed Feb 13 11:55:59 2013 -0800
Committer: Jessica Wang <je...@citrix.com>
Committed: Wed Feb 13 11:55:59 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/4e7da000/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/4e7da000/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) });