Commit 5ffce6a65ee162d4b887da0b630f8aaf23e92124

Authored by Dmitriy Zaporozhets
1 parent 77febe8f

GitLab app is not threadsafe so better disable allow_concurrency for production env

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
config/environments/production.rb
... ... @@ -83,4 +83,6 @@ Gitlab::Application.configure do
83 83  
84 84 config.eager_load = true
85 85 config.assets.js_compressor = :uglifier
  86 +
  87 + config.allow_concurrency = false
86 88 end
... ...