diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-10 01:26:09 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-10 14:11:28 +0400 |
commit | 5ffce6a65ee162d4b887da0b630f8aaf23e92124 (patch) | |
tree | a68a21f4e6dc224b544fe3b62416c0c51c377a7c | |
parent | 77febe8f1e867874c10fff9f70011f7e67c1a5f8 (diff) |
GitLab app is not threadsafe so better disable allow_concurrency for production env
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | config/environments/production.rb | 2 |
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 |