Commit 7cfc2f97 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '20757-api-endpoint-delete-users-id-executes-more-than-100-sql-queries' into 'master'

Remove QueryLimiting.disable for API endpoint DELETE /users/:id

See merge request gitlab-org/gitlab!57867
parents 51f60a33 0655c37a
...@@ -571,8 +571,6 @@ module API ...@@ -571,8 +571,6 @@ module API
end end
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
delete ":id", feature_category: :users do delete ":id", feature_category: :users do
Gitlab::QueryLimiting.disable!('https://gitlab.com/gitlab-org/gitlab/issues/20757')
authenticated_as_admin! authenticated_as_admin!
user = User.find_by(id: params[:id]) user = User.find_by(id: params[:id])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment