Allow concurrency when using Puma

This commit is contained in:
Andrew Newdigate 2018-11-05 17:46:15 +00:00 committed by Stan Hu
parent 001cb5aae3
commit b6cde1856f
3 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
title: Allow Rails concurrency when running in Puma
merge_request: 22751
author:
type: performance

View File

@ -45,4 +45,6 @@ Rails.application.configure do
# Do not log asset requests
config.assets.quiet = true
config.allow_concurrency = defined?(::Puma)
end

View File

@ -83,5 +83,5 @@ Rails.application.configure do
config.eager_load = true
config.allow_concurrency = false
config.allow_concurrency = defined?(::Puma)
end