From 69f9738902a5a46d0cf6dc34ddbd92bd20312fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 30 Nov 2021 17:56:58 +0100 Subject: [PATCH] Update Puma installation on Heroku CONSUL now uses Puma on production as well. --- docs/en/installation/deploying-on-heroku.md | 9 ++------- docs/es/installation/deploying-on-heroku.md | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/docs/en/installation/deploying-on-heroku.md b/docs/en/installation/deploying-on-heroku.md index 5c97dce7f..bf082acaa 100644 --- a/docs/en/installation/deploying-on-heroku.md +++ b/docs/en/installation/deploying-on-heroku.md @@ -131,15 +131,10 @@ to generate _Gemfile.lock_ before commiting and pushing to the server. ### Use Puma as a web server -Heroku recommends to use Puma instead of the default web server to improve the responsiveness of your app on [a number of levels](http://blog.scoutapp.com/articles/2017/02/10/which-ruby-app-server-is-right-for-you). - -Since v1.0.0, CONSUL uses puma for the development and test environments. To use it in production as well, move the gem outside of the group `group :development, :test` in your _Gemfile_: - -```ruby -gem 'puma' -``` +Heroku recommends to use Puma to improve the responsiveness of your app on [a number of levels](http://blog.scoutapp.com/articles/2017/02/10/which-ruby-app-server-is-right-for-you). If you want to allow more concurrency, uncomment the line: + ```ruby workers ENV.fetch("WEB_CONCURRENCY") { 2 } ``` diff --git a/docs/es/installation/deploying-on-heroku.md b/docs/es/installation/deploying-on-heroku.md index 5c97dce7f..bf082acaa 100644 --- a/docs/es/installation/deploying-on-heroku.md +++ b/docs/es/installation/deploying-on-heroku.md @@ -131,15 +131,10 @@ to generate _Gemfile.lock_ before commiting and pushing to the server. ### Use Puma as a web server -Heroku recommends to use Puma instead of the default web server to improve the responsiveness of your app on [a number of levels](http://blog.scoutapp.com/articles/2017/02/10/which-ruby-app-server-is-right-for-you). - -Since v1.0.0, CONSUL uses puma for the development and test environments. To use it in production as well, move the gem outside of the group `group :development, :test` in your _Gemfile_: - -```ruby -gem 'puma' -``` +Heroku recommends to use Puma to improve the responsiveness of your app on [a number of levels](http://blog.scoutapp.com/articles/2017/02/10/which-ruby-app-server-is-right-for-you). If you want to allow more concurrency, uncomment the line: + ```ruby workers ENV.fetch("WEB_CONCURRENCY") { 2 } ```