diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-10-30 18:10:31 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-11-08 00:28:57 +0300 |
commit | 90be53c5d39bff5e371cf8a6e11a39bf5dad7bcc (patch) | |
tree | 1ab3f4cbe21ff831a9347734eedcd8b7b3028796 /app/workers/concerns/gitlab | |
parent | bda30182e0d6c0be9f89e2e9a4e8b8325ad7ccb7 (diff) |
Cache feature names in RequestStore
The GitHub importer (and probably other parts of our code) ends up
calling Feature.persisted? many times (via Gitaly). By storing this data
in RequestStore we can save ourselves _a lot_ of database queries.
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/39361
Diffstat (limited to 'app/workers/concerns/gitlab')
0 files changed, 0 insertions, 0 deletions