From 4528a0c0ae82d264482de99a00931de6655abb7e Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 6 Jan 2014 14:21:09 -0800 Subject: [PATCH] CLOUDSTACK-5808: UI > SystemVMs page > pass details=min to listHosts API to reduce response time. --- ui/scripts/system.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 1313859a7ad..403fce0c40b 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -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++) {