Project

General

Profile

Refactor #21611

speed up has_many_common methods

Added by Tomer Brisker almost 3 years ago. Updated over 2 years ago.

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

Description

has_many_common defines *_name methods for associations. These calls are used extensively in the API to load data and their performance can be improved by leveraging pre-loaded relations in activerecord.

Associated revisions

Revision 9e892b43 (diff)
Added by Tomer Brisker almost 3 years ago

Fixes #21611 - Improve *_name lookup speed

History

#1 Updated by The Foreman Bot almost 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4994 added

#2 Updated by Daniel Lobato Garcia almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 296

#3 Updated by Anonymous almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF