Bug #20584
closedactivation key page takes 10-20 seconds to load for each batch of keys
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1419126
Description of problem:
If you go to the activation key page (content -> activation keys), it can take a long time for the page to load. It looks like two calls to candlepin are made for each key, each taking about 300msec.
Ideally, the number of calls to candlepin would not scale linearly with the number of activation keys.
If the activation key page could load each "page" of data in under 5 seconds, that would be much better.
Version-Release number of selected component (if applicable): 6.2.7
Steps to Reproduce:
1. create 20 or 30 activation keys
2. view AK page
Actual results: slow load time. I got 18 seconds locally but I've seen up to 45 seconds.
Expected results: 5 second load time or better