Actions
Bug #26529
openAPIv2 host show permissions node is very slow
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
The permissions node in the Host's show action in APIv2 causes a lot of lookups to figure out the permissions. This has a high performance penalty (approx. 1 second).
https://github.com/theforeman/foreman/blob/develop/app/views/api/v2/hosts/show.json.rabl#L27-L32
This gist contains logs that show the slow queries:
Actions