summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-09 23:26:09 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-10 12:11:28 +0200
commit5ffce6a65ee162d4b887da0b630f8aaf23e92124 (patch)
treea68a21f4e6dc224b544fe3b62416c0c51c377a7c /config/environments
parent77febe8f1e867874c10fff9f70011f7e67c1a5f8 (diff)
downloadgitlab-ce-5ffce6a65ee162d4b887da0b630f8aaf23e92124.tar.gz
GitLab app is not threadsafe so better disable allow_concurrency for production env
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 00322cdbad3..9ac4622abc2 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