Controller Projects::HooksController#index executes more than 100 SQL queries
This controller executes more than 100 SQL queries, the maximum number of queries allowed as per MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16466. The number of queries should be reduced to less than 100 and the corresponding allowlisted sections of code (Gitlab::QueryLimiting.disable!('...')
or disable_query_limiting
) should be removed.
Edited by Matt Nohr