Commit 5ffce6a65ee162d4b887da0b630f8aaf23e92124
1 parent
77febe8f
Exists in
master
and in
4 other branches
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,4 +83,6 @@ Gitlab::Application.configure do | ||
| 83 | 83 | ||
| 84 | config.eager_load = true | 84 | config.eager_load = true |
| 85 | config.assets.js_compressor = :uglifier | 85 | config.assets.js_compressor = :uglifier |
| 86 | + | ||
| 87 | + config.allow_concurrency = false | ||
| 86 | end | 88 | end |