Project

General

Profile

Actions

Bug #6896

closed

Content view pages generate *many* api calls

Added by Ohad Levy almost 10 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

when browsing a content view, I've noticed in the logs:

Processing by Katello::Api::V2::ContentViewsController#history as JSON
  Parameters: {"organization_id"=>"3", "page"=>"663", "search"=>"", "sort_by"=>"created_at", "sort_order"=>"DESC", "api_version"=>"v2", "id"=>"5"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/content_view_histories/index.json.rabl within katello/api/v2/layouts/collection (1.8ms)
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.7ms)
Processing by Katello::Api::V2::ContentViewsController#history as JSON
  Parameters: {"organization_id"=>"3", "page"=>"664", "search"=>"", "sort_by"=>"created_at", "sort_order"=>"DESC", "api_version"=>"v2", "id"=>"5"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/content_view_histories/index.json.rabl within katello/api/v2/layouts/collection (1.8ms)
Completed 200 OK in 17ms (Views: 2.9ms | ActiveRecord: 0.7ms)
Processing by Katello::Api::V2::ContentViewsController#history as JSON
  Parameters: {"organization_id"=>"3", "page"=>"665", "search"=>"", "sort_by"=>"created_at", "sort_order"=>"DESC", "api_version"=>"v2", "id"=>"5"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/content_view_histories/index.json.rabl within katello/api/v2/layouts/collection (1.9ms)
Completed 200 OK in 179ms (Views: 3.1ms | ActiveRecord: 4.1ms)
Processing by Katello::Api::V2::ContentViewsController#history as JSON
  Parameters: {"organization_id"=>"3", "page"=>"666", "search"=>"", "sort_by"=>"created_at", "sort_order"=>"DESC", "api_version"=>"v2", "id"=>"5"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/content_view_histories/index.json.rabl within katello/api/v2/layouts/collection (2.0ms)

This kept on going for quite some time.

Actions #1

Updated by Eric Helms almost 10 years ago

  • Category set to Web UI
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by Eric Helms over 8 years ago

  • Status changed from New to Resolved

Not seeing this on latest, 2.4.0, please re-open if you are still seeing it.

Actions #3

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF