CLOUDSTACK-5808: UI > SystemVMs page > pass details=min to listHosts API to reduce response time.

This commit is contained in:
Jessica Wang 2014-01-06 14:21:09 -08:00
parent 6d0dbf5968
commit 4528a0c0ae

View File

@ -7875,7 +7875,11 @@
var systemvmObjs = json.listsystemvmsresponse.systemvm;
if (systemvmObjs != undefined) {
$.ajax({
url: createURL("listHosts&listAll=true"),
url: createURL('listHosts'),
data: {
listAll: true,
details: 'min'
},
success: function(json) {
var hostObjs = json.listhostsresponse.host;
for (var i = 0; i < systemvmObjs.length; i++) {