gitlab-org--gitlab-foss/app
Stan Hu 4f9068dfc0 Eliminate N+1 queries in LFS file locks checks during a push
This significantly improves performance when a user pushes many references.

project.path_locks.any? doesn't cache the output and runs `SELECT 1 AS one
FROM "path_locks" WHERE project_id = N` each time. When there are thousands
of refs being pushed, this can time out the unicorn worker.

CE port for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6159.
2018-06-18 16:42:20 -07:00
..
assets Remove top margin from checkboxes in integrations page 2018-06-18 16:48:28 -05:00
controllers Merge branch '47672-set_inline_content_type_for_ics' into 'master' 2018-06-18 09:35:20 +00:00
finders [Rails5] Fix snippets_finder arel queries 2018-06-14 11:20:11 +11:00
graphql Allow querying a single MR within a project 2018-06-15 14:38:32 +02:00
helpers Merge branch '46861-issuable-title-with-longer-username' into 'master' 2018-06-18 19:40:16 +00:00
mailers
models Eliminate N+1 queries in LFS file locks checks during a push 2018-06-18 16:42:20 -07:00
policies policy 2018-06-06 21:01:45 +09:00
presenters Add `present_using` to types 2018-06-05 20:47:42 +02:00
serializers Fix milestones disappearing when changed on MR 2018-06-15 17:46:49 -06:00
services Merge branch 'rails5-fix-48012' into 'master' 2018-06-18 12:43:29 +00:00
uploaders Remove FaviconUploader favicon_main version 2018-06-15 12:28:23 +02:00
validators Avoid checking the user format in every url validation 2018-06-11 13:29:37 +00:00
views Merge branch '5956-auto-devops-multi-cluster-help-text' into 'master' 2018-06-18 15:49:51 +00:00
workers Move GC RPCs to mandatory 2018-06-13 16:36:43 +02:00