Skip to content

Commit 48df255

Browse files
CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to load
For setting the width of each data item for each row of Port Forwarding rules, it was processing all rules. Basically for each data item, it was searching in all rules, which is un-necessary. If there are N-Rules, It was processing N-times. Now, it only processes one time by taking all N-rules at a time. The previous solution was of O(NxN). Now its changed to O(N).
1 parent f6db0a2 commit 48df255

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎ui/scripts/ui/widgets/multiEdit.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,6 @@
278278
$td.addClass('blank');
279279
}
280280

281-
// Align width to main header
282-
_medit.refreshItemWidths($multi);
283-
284281
if (data._hideFields &&
285282
$.inArray(fieldName, data._hideFields) > -1) {
286283
$td.addClass('disabled');

0 commit comments

Comments
 (0)