-
Memoize MergeRequest#rebase_in_progress? to prevent N+1 queries in Gitaly · 9a323c7eStan Hu authored
MergeRequest#rebase_in_progress? and MergeRequest#rebase_path were called twice each time per request. This memoization helps reduce the overall number of queries. See https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/51616319 as a failing job. Closes gitlab-org/gitlab-ee#4857
9a323c7e
×