Description of problem: Currently when you delete a product it calls Resources::Candlepin::Subscription.refresh_for_owner() which refreshes the pools for a systems within the organization. This is extremely slow when you have lots of systems How reproducible: always Steps to Reproduce: 1. Register ~200 systems 2. Create a product, do not create a repo, do not assign systems to it 3. Delete the product Actual results: Very slow (~60 seconds) Expected results: Should be fast Additional info: As far as I know there is no reason to refresh the pools for all systems in the org
Ideally this shouldn't block the request regardless as well, it should occur in the background.
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Looks like this was removed from Product delete some where before 6.2 but was still being called during product create. It was removed as part of the candlepin 2.0 work. I'll go ahead and close this as I don't know that this is affecting customers.