Allow concurrency when using Puma
This commit is contained in:
parent
001cb5aae3
commit
b6cde1856f
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Allow Rails concurrency when running in Puma
|
||||
merge_request: 22751
|
||||
author:
|
||||
type: performance
|
|
@ -45,4 +45,6 @@ Rails.application.configure do
|
|||
|
||||
# Do not log asset requests
|
||||
config.assets.quiet = true
|
||||
|
||||
config.allow_concurrency = defined?(::Puma)
|
||||
end
|
||||
|
|
|
@ -83,5 +83,5 @@ Rails.application.configure do
|
|||
|
||||
config.eager_load = true
|
||||
|
||||
config.allow_concurrency = false
|
||||
config.allow_concurrency = defined?(::Puma)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue