Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-30118

Products index page is slow for products that have no synced repositories

XMLWordPrintable

    • Sprint 143, Sprint 144
    • None

      Discussion: https://community.theforeman.org/t/slow-product-page/40279/

      In app/models/katello/glue/pulp/repos.rb#last_sync, Katello first searches for repo sync tasks and then audits if no sync tasks show up when attempting to find a sync time for repositories within the product.

      However, if the product has no synced synced repositories, it seems that the audits search is very slow. It may be because the lack of audit record is causing the entire audit table to be scanned.

      Should the last sync time be stored on the product itself?

              rhn-engineering-sajha Samir Jha
              rhn-engineering-sajha Samir Jha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: