Bug #16713

in "any organziation" view, the dashboard gets slower as orgs are added

Added by Chris Duryee over 4 years ago. Updated over 2 years ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


If you attempt to view the dashboard in the "any organization" view, the dashboard will get slower as orgs are added. This is because the subscription status widget is polling across all organizations, and making a call to candlepin for each org.

how to repro:

  • create two orgs
  • view dashboard

You will see two calls to candlepin, one per org.

It is not common to use the dashboard to find subscription info across orgs, since subscriptions are closely tied to an org. Instead, it is OK for the widget to just display "information not available, please select an organization" or some other text.

Associated revisions

Revision 3ef5d73c (diff)
Added by Chris Duryee over 4 years ago

Fixes #16713: do not show subscription info if no org is selected (#6357)

Previously, the dashboard would iterate over each organization the user
had access to and sum up the subscription info. If the user had a large
number of orgs, this could make the dashboard extremely slow, since
each organization required two calls to candlepin to find the
subscription counts.

Instead, display a message stating that an organization needs to be
selected in order to show subscription info. It is unlikely a user
would want to see a "roll-up" view of subs across orgs, since
subscriptions are tightly coupled to a particular org.


#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request added

#2 Updated by Chris Duryee over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 162

Also available in: Atom PDF