diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-04-05 13:19:24 +0200 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-04-09 11:58:06 +0100 |
commit | 20fdbbe86a6cffbf467f08d50a0d8ef0f5c87f50 (patch) | |
tree | 771a649785183c6d355483538a69a66824ad320c /Gemfile.lock | |
parent | 63ab7c0f009001b99f6e7d7a7f21dadde1e6b969 (diff) | |
download | gitlab-ce-20fdbbe86a6cffbf467f08d50a0d8ef0f5c87f50.tar.gz |
Use Goldiloader for handling N+1 queries
Goldiloader (https://github.com/salsify/goldiloader) can eager load
associations automatically. This removes the need for adding "includes"
calls in a variety of different places. This also comes with the added
benefit of not having to eager load data if it's not used.
Diffstat (limited to 'Gemfile.lock')
-rw-r--r-- | Gemfile.lock | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index a1150dfccdd..76e1a17155f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -320,6 +320,9 @@ GEM rubyntlm (~> 0.5) globalid (0.4.1) activesupport (>= 4.2.0) + goldiloader (2.0.1) + activerecord (>= 4.2, < 5.2) + activesupport (>= 4.2, < 5.2) gollum-grit_adapter (1.0.1) gitlab-grit (~> 2.7, >= 2.7.1) gollum-lib (4.2.7) @@ -1067,6 +1070,7 @@ DEPENDENCIES gitlab-markup (~> 1.6.2) gitlab-styles (~> 2.3) gitlab_omniauth-ldap (~> 2.0.4) + goldiloader (~> 2.0) gollum-lib (~> 4.2) gollum-rugged_adapter (~> 0.4.4) gon (~> 6.1.0) |