diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-11-21 16:10:47 +0000 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-11-21 19:59:41 +0000 |
commit | 86a2b38479b9942314dc698fb3b798a06bd31ed1 (patch) | |
tree | e2090398849eac799bff7127c94282f7710a1428 /.nvmrc | |
parent | a96a0d707e1077f45f56b7adeb9b69eb01230a56 (diff) | |
download | gitlab-ce-86a2b38479b9942314dc698fb3b798a06bd31ed1.tar.gz |
Merge branch 'sh-optimize-read-only-check' into 'master'
Optimize read-only middleware so that it does not consume as much CPU
Closes #40185 and gitlab-com/infrastructure#3240
See merge request gitlab-org/gitlab-ce!15504
(cherry picked from commit 6c3398165469de7890cd7881b175858f7c6be8e5)
3c52e2f0 Optimize read-only middleware so that it does not consume as much CPU
cba68d33 use `Gitlab::Routing.url_helpers` instead of `Rails.application.routes.url_helpers`
91075c82 check for `read_only?` first before seeing if request is disallowed
aeb2f49f Revert "check for `read_only?` first before seeing if request is disallowed"
Diffstat (limited to '.nvmrc')
0 files changed, 0 insertions, 0 deletions