Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8530

N+1 query issue showing buyer accounts

XMLWordPrintable

    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      GET /buyers/accounts
      USE eager loading detected
      Account => [:admin_user]
      Add to your query: .includes([:admin_user])
      Call stack
      /home/avalon/ws/repos/porta/app/decorators/account_decorator.rb:9:in `admin_user'
      /home/avalon/ws/repos/porta/app/views/buyers/accounts/search_results.html.slim:47:in `block in _app_views_buyers_accountssearch_results_html_slim_1560610965058280875_116541720'
      /home/avalon/ws/repos/porta/app/views/buyers/accounts/search_results.html.slim:43:in `_app_views_buyers_accountssearch_results_html_slim_1560610965058280875_116541720'
      /home/avalon/ws/repos/porta/app/views/buyers/accounts/index.html.erb:25:in `app_views_buyers_accounts_index_html_erb__4442578369013116043_81987200'
      /home/avalon/ws/repos/porta/lib/three_scale/middleware/multitenant.rb:113:in `_call'
      /home/avalon/ws/repos/porta/lib/three_scale/middleware/multitenant.rb:108:in `call'
      bin/rails:4:in `require'
      bin/rails:4:in `<main>'

      related to https://github.com/3scale/porta/commit/9ad04a4b9609dc031d55627e0964e08ee7d9c9be

              Unassigned Unassigned
              akostadi1@redhat.com Aleksandar Kostadinov
              Joan Lledo Joan Lledo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: