From 797358514f62dd8182af816f7aa7a8eb66953085 Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Wed, 25 Aug 2021 11:51:09 +0300 Subject: [PATCH] Enable WEB_CONCURRENCY --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index 761e78f4..3bd429c6 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -29,7 +29,7 @@ # Workers do not work on JRuby or Windows (both of which do not support # processes). # -# workers ENV.fetch("WEB_CONCURRENCY") { 2 } +workers ENV.fetch("WEB_CONCURRENCY", 2) # Use the `preload_app!` method when specifying a `workers` number. # This directive tells Puma to first boot the application and load code