gitlab-org--gitlab-foss/app/views/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 Add table-header-group display class 2018-04-24 14:06:55 -05:00
appearances [skip ci] add col-sm-* for form-horizontal changes to keep layout 2018-04-12 18:16:56 -05:00
application_settings Replace remaining .radio and .checkbox with .form-check 2018-05-24 08:39:44 -05:00
applications [skip ci] .form-horizontal => .form-group.row 2018-04-12 15:11:22 -05:00
background_jobs [skip ci] Convert panel related class names to card 2018-04-10 12:11:34 -05:00
broadcast_messages Fix clone URL alignment on project page 2018-05-23 18:36:17 -07:00
cohorts Remove unused admin subnavs 2017-09-25 10:11:42 -07:00
conversational_development_index Update class name to not use bootstrap's text-light class 2018-05-23 18:54:05 -07:00
dashboard Fix fast admin counters not working when PostgreSQL has secondaries 2018-05-25 22:58:43 -07:00
deploy_keys [skip ci] .form-horizontal => .form-group.row 2018-04-12 15:11:22 -05:00
gitaly_servers [skip ci] Replace hidden-sm 2018-04-09 16:36:25 -05:00
groups [skip ci] Replace col-*-offset-* with offset-*-* 2018-04-13 12:49:32 -05:00
health_check Rename btn-secondary to btn-default 2018-05-10 12:22:56 -07:00
hook_logs Rename btn-secondary to btn-default 2018-05-10 12:22:56 -07:00
hooks [skip ci] convert label-gray and label-inverse to badge-gray and badge-inverse 2018-04-13 14:47:25 -05:00
identities [skip ci] add col-sm-* for form-horizontal changes to keep layout 2018-04-12 18:16:56 -05:00
impersonation_tokens
jobs Add new modal Vue component 2018-02-14 19:57:07 +01:00
keys
labels Fix failing spec because of light-well reference 2018-04-19 14:55:28 -05:00
logs Add .nav.nav-tabs to nav-links 2018-04-19 22:34:20 -05:00
projects Merge branch 'master' into bootstrap4 2018-05-08 10:49:30 -05:00
requests_profiles [skip ci] Convert panel related class names to card 2018-04-10 12:11:34 -05:00
runners Merge branch 'master' into bootstrap4 2018-05-23 14:45:32 -05:00
services Merge branch 'master' into bootstrap4 2018-05-08 10:49:30 -05:00
spam_logs [skip ci] Convert btn-xs to btn-sm 2018-04-12 16:13:36 -05:00
system_info Add well classes to system info 2018-05-14 15:21:11 -07:00
users Fix admin user projects table 2018-05-24 14:56:19 -07:00