Project

General

Profile

Actions

Bug #14276

open

available repos page under content view page does not paginate results

Added by Chris Duryee about 8 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If you have many products with repos and go to 'content_views/<id>/repositories/yum/available', the page will take multiple seconds to load.

It looks like one of the calls is to '/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=3&full_result=true&library=true&organization_id=3&page=1&search=0', which can take 4+ seconds with 140-ish repos enabled on a speedy physical host.

If the same call is made without full_result=true, the call is significantly faster. One idea to fix this would be to paginate the repo add page, but there may be other ways to avoid this API call or make it faster.

Actions #1

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 143
Actions #2

Updated by Chris Duryee almost 8 years ago

  • Bugzilla link set to 1330752
Actions #3

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release changed from 143 to 114
Actions #4

Updated by Ido Kanner almost 6 years ago

  • Category changed from Performance to Content Views
Actions

Also available in: Atom PDF