From 5ffce6a65ee162d4b887da0b630f8aaf23e92124 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 9 Dec 2013 23:26:09 +0200 Subject: [PATCH] GitLab app is not threadsafe so better disable allow_concurrency for production env Signed-off-by: Dmitriy Zaporozhets --- config/environments/production.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 00322cdba..9ac4622ab 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -83,4 +83,6 @@ Gitlab::Application.configure do config.eager_load = true config.assets.js_compressor = :uglifier + + config.allow_concurrency = false end -- 2.11.0