From 93743ec281080d0f43e9cf438dcf2f4b900511b8 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 17 Mar 2016 13:31:36 +0100 Subject: [PATCH] Do not start in cluster mode per default. --- config/puma.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/puma.rb b/config/puma.rb index b01ec9be7..bfd115475 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,6 +1,6 @@ -workers Integer(ENV['WEB_CONCURRENCY'] || 2) +workers Integer(ENV['WEB_CONCURRENCY'] || 0) threads_count_min = Integer(ENV['MIN_THREADS'] || 5) -threads_count_max = Integer(ENV['MAX_THREADS'] || 20) +threads_count_max = Integer(ENV['MAX_THREADS'] || 30) threads threads_count_min, threads_count_max preload_app!