Commit b6cde185 authored by Andrew Newdigate's avatar Andrew Newdigate Committed by Stan Hu

Allow concurrency when using Puma

parent 001cb5aa
---
title: Allow Rails concurrency when running in Puma
merge_request: 22751
author:
type: performance
...@@ -45,4 +45,6 @@ Rails.application.configure do ...@@ -45,4 +45,6 @@ Rails.application.configure do
# Do not log asset requests # Do not log asset requests
config.assets.quiet = true config.assets.quiet = true
config.allow_concurrency = defined?(::Puma)
end end
...@@ -83,5 +83,5 @@ Rails.application.configure do ...@@ -83,5 +83,5 @@ Rails.application.configure do
config.eager_load = true config.eager_load = true
config.allow_concurrency = false config.allow_concurrency = defined?(::Puma)
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment