mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response.
This commit is contained in:
parent
ceb44aca30
commit
4e7da0001d
@ -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;
|
||||
|
||||
@ -111,7 +111,7 @@
|
||||
$loading.remove();
|
||||
}
|
||||
});
|
||||
}, 3000);
|
||||
}, g_queryAsyncJobResultInterval);
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
cloudStack.dialog.notice({ message: 'Failed to update SSL Certificate. ' + parseXMLHttpResponse(XMLHttpResponse) });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user