diff options
author | Stan Hu <stanhu@gmail.com> | 2016-07-26 04:05:14 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-07-26 04:05:14 +0300 |
commit | 22386040fe5c1cd5b3ab163211b77c6ff254e88e (patch) | |
tree | ebe74de1c85211bac0b917ddec0688aa6433a23c /config | |
parent | f4aac773894bb17f550fff8ee548f2a18cd18b64 (diff) |
Enable SIDEKIQ_REQUEST_STORE by default
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/sidekiq.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 48b6075ba78..cf49ec2194c 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -7,7 +7,7 @@ Sidekiq.configure_server do |config| config.server_middleware do |chain| chain.add Gitlab::SidekiqMiddleware::ArgumentsLogger if ENV['SIDEKIQ_LOG_ARGUMENTS'] chain.add Gitlab::SidekiqMiddleware::MemoryKiller if ENV['SIDEKIQ_MEMORY_KILLER_MAX_RSS'] - chain.add Gitlab::SidekiqMiddleware::RequestStoreMiddleware if ENV['SIDEKIQ_REQUEST_STORE'] + chain.add Gitlab::SidekiqMiddleware::RequestStoreMiddleware unless ENV['SIDEKIQ_REQUEST_STORE'] == '0' end # Sidekiq-cron: load recurring jobs from gitlab.yml |