The SQL queries and memory allocation in MergeRequests::RefreshService is dominated by queries for Project and Route loads. On staging, the absence of an inverse relationship caused Rails to make over 1100 extraneous SQL queries for the www-gitlab-com repository. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/49703 |
||
|---|---|---|
| .. | ||
| database_helpers.rb | ||
| logger.rb | ||
| merge_request_creator.rb | ||
| merge_request_helpers.rb | ||