Project

General

Profile

Actions

Refactor #3016

closed

accessible_hostgroups method unnecessarily sorts in memory

Added by Ohad Levy about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

since we added the full label to the db, we can ask the db to sort for us.

see source:app/helpers/hosts_and_hostgroups_helper.rb#L20

Actions

Also available in: Atom PDF