Paginate /admin/applications OauthAccessToken query
Problem to solve
Paginate the OauthAccessToken
DB query
Further details
On our own installation of GitLab we have an application that has a quite noticeable amount of oauth_access_tokens
entries in the database. It reached a point where we can't load /admin/applications
because the SQL query takes around 8 minutes.
Proposal
Paginate the number of oauth_access_tokens
entries returned when loading /admin/applications