提交 b6cde185 编写于 作者: A Andrew Newdigate 提交者: Stan Hu

Allow concurrency when using Puma

上级 001cb5aa
---
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册