Actions
Bug #36944
closedall hosts page slow -> reduce the amout of queries to load the rex status
Difficulty:
Triaged:
No
Description
This line of code is responsible for 6 DB queries for each host: https://github.com/theforeman/foreman_remote_execution/blob/master/app/models/host_status/execution_status.rb#L112 and no preload/eager_loading is used. Means, if you have 100 hosts, it will run 600 DB queries.
This should be improved to improve the performance.
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Bernhard Suttner
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/851 added
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases foreman_remote_execution-12.0.3 added
Updated by Anonymous about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|a2830d44789b7fcc1c6e38976e82f5ff71c299b2.
Updated by Adam Ruzicka about 1 year ago
- Fixed in Releases foreman_remote_execution-13.0.0 added
- Fixed in Releases deleted (
foreman_remote_execution-12.0.3)
Actions