Project

General

Profile

Actions

Refactor #34160

closed

Improve the fact_values api performance when loading a large number of facts

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Facts
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

This is due to the current way the build_facts_hash method is implemented, leading to a lot of excessive memory load, and some unneeded preloads from the db.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #35591: Can't use 'search' with fact_value via APIDuplicateActions
Actions

Also available in: Atom PDF