Controller Projects::NotesController#index.json 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
whitelisted sections of code (Gitlab::QueryLimiting.whitelist('...')
) should
be removed.
We were getting this error in CI and it's breaking master gitlab-org/quality/engineering-productivity/master-broken-incidents#6227 (closed)
Edited by Mario Celi