diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-14 18:12:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-14 18:12:05 +0300 |
commit | b119503b7039d1e79b87300a145afdcd1145c2d6 (patch) | |
tree | 9977d51c4fd8177a20f1805c14f0cb6750baee1c /config | |
parent | d378fdaa60adb7217e3fc798580ad206127728d5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/feature_flags/development/customer_relations.yml | 8 | ||||
-rw-r--r-- | config/feature_flags/development/gitaly_backup.yml | 8 | ||||
-rw-r--r-- | config/initializers/static_files.rb | 4 |
3 files changed, 20 insertions, 0 deletions
diff --git a/config/feature_flags/development/customer_relations.yml b/config/feature_flags/development/customer_relations.yml new file mode 100644 index 00000000000..207f675423a --- /dev/null +++ b/config/feature_flags/development/customer_relations.yml @@ -0,0 +1,8 @@ +--- +name: customer_relations +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69472 +rollout_issue_url: +milestone: '14.3' +type: development +group: group::product planning +default_enabled: false diff --git a/config/feature_flags/development/gitaly_backup.yml b/config/feature_flags/development/gitaly_backup.yml new file mode 100644 index 00000000000..67552d39d92 --- /dev/null +++ b/config/feature_flags/development/gitaly_backup.yml @@ -0,0 +1,8 @@ +--- +name: gitaly_backup +introduced_by_url: https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3554 +rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/333034 +milestone: '14.0' +type: development +group: group::gitaly +default_enabled: true diff --git a/config/initializers/static_files.rb b/config/initializers/static_files.rb index 3cdb5a5abcf..2879d48387d 100644 --- a/config/initializers/static_files.rb +++ b/config/initializers/static_files.rb @@ -2,6 +2,10 @@ app = Rails.application +# Disable Sendfile for Sidekiq Web assets since Workhorse won't +# always have access to these files. +app.config.middleware.insert_before(Rack::Sendfile, Gitlab::Middleware::SidekiqWebStatic) + if app.config.public_file_server.enabled # The `ActionDispatch::Static` middleware intercepts requests for static files # by checking if they exist in the `/public` directory. |