Actions
Bug #14259
closedproduct API call with 'enabled=true' slow, causing product page to load slowly
Difficulty:
Triaged:
Bugzilla link:
Description
The product listing page takes about 5-7 seconds to load with 10 custom products and 7 RH products enabled.
It looks like the 'enabled=true' flag when calling the products API has something to do with this. For example:
# time curl -sk 'https://admin:changeme@localhost/katello/api/products?organization_id=3&page=1&paged=true&search=&sort_by=name&sort_order=ASC' > /dev/null real 0m1.853s user 0m0.034s sys 0m0.024s # time curl -sk 'https://admin:changeme@localhost/katello/api/products?enabled=true&organization_id=3&page=1&paged=true&search=&sort_by=name&sort_order=ASC' > /dev/null real 0m4.246s user 0m0.024s sys 0m0.028s
There is a 'self.enabled' method on the product model that may need investigation.
Updated by Eric Helms almost 9 years ago
- Translation missing: en.field_release set to 143
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5991 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|98e9acf6d88d9cdd6c408297494373721965488f.
Updated by The Foreman Bot over 8 years ago
- Pull request https://github.com/Katello/katello/pull/6012 added
Updated by Adam Price over 8 years ago
- Status changed from Assigned to Ready For Testing
PR #6012 has been merged.
Updated by Chris Duryee over 8 years ago
- Status changed from Ready For Testing to Closed
both PRs merged, moving issue to closed
Actions