08c3e59aee
On our dev instance, /admin/applications as not loading because: 1. There was an unindexed query by `application_id`. 2. There was an expensive query that attempted to load 1 million unique entries via ActiveRecord just to find the unique count. We fix the first issue by adding an index for that column. We fix the second issue with a simple SELECT COUNT(DISTINCT resource_owner_id) SQL query. In addition, we add pagination to avoid loading more than 20 applications at once. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67228 |
||
---|---|---|
.. | ||
clusters | ||
appearances_controller_spec.rb | ||
application_settings_controller_spec.rb | ||
applications_controller_spec.rb | ||
clusters_controller_spec.rb | ||
dashboard_controller_spec.rb | ||
gitaly_servers_controller_spec.rb | ||
groups_controller_spec.rb | ||
health_check_controller_spec.rb | ||
hooks_controller_spec.rb | ||
identities_controller_spec.rb | ||
impersonations_controller_spec.rb | ||
projects_controller_spec.rb | ||
requests_profiles_controller_spec.rb | ||
runners_controller_spec.rb | ||
services_controller_spec.rb | ||
spam_logs_controller_spec.rb | ||
users_controller_spec.rb |