gitlab-org--gitlab-foss/app/controllers/admin
Stan Hu b6125f7045 Fix fast admin counters not working when PostgreSQL has secondaries
This commit does a number of things:

1. Reduces the number of queries needed by perform a single query to get all
the tuples for the relevant rows.

2. Uses a transaction to query the tuple counts to ensure that the data
is retrieved from the primary.

Closes #46742
2018-05-25 22:58:43 -07:00
..
abuse_reports_controller.rb
appearances_controller.rb Backport changes in EE MR 4972: System Header and Footer 2018-04-02 14:27:12 +00:00
application_controller.rb Add read-only banner to all pages 2018-03-22 20:34:45 +01:00
application_settings_controller.rb Use ApplicationSetting.current_without_cache instead of ApplicationSetting.current where applicable 2018-05-23 16:14:43 +02:00
applications_controller.rb fix typo 2017-11-02 14:33:56 +01:00
background_jobs_controller.rb
broadcast_messages_controller.rb Replace $.ajax in admin broadcast messages with axios 2018-02-05 14:59:48 +00:00
cohorts_controller.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
conversational_development_index_controller.rb
dashboard_controller.rb Fix fast admin counters not working when PostgreSQL has secondaries 2018-05-25 22:58:43 -07:00
deploy_keys_controller.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
gitaly_servers_controller.rb Gitaly Server info for admin panel 2018-01-31 08:54:45 +01:00
groups_controller.rb [Rails5] Rename `sort` methods to `sort_by_attribute` 2018-04-04 09:19:47 +00:00
health_check_controller.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
hook_logs_controller.rb
hooks_controller.rb reference triggers.values for permitted parameters 2018-01-17 09:55:00 +01:00
identities_controller.rb
impersonation_tokens_controller.rb Remove impersonate token from flash scope 2018-03-02 10:10:39 +00:00
impersonations_controller.rb
jobs_controller.rb Add modal for stopping jobs in admin area 2018-01-18 10:05:40 +01:00
keys_controller.rb
labels_controller.rb
logs_controller.rb
projects_controller.rb Present member collection at the controller level 2017-12-12 18:14:58 +01:00
requests_profiles_controller.rb
runner_projects_controller.rb
runners_controller.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
services_controller.rb Track and act upon the number of executed queries 2018-02-01 17:00:46 +01:00
spam_logs_controller.rb
system_info_controller.rb
users_controller.rb [Rails5] Rename `sort` methods to `sort_by_attribute` 2018-04-04 09:19:47 +00:00