From e55a8dadc7e6fe1bb3ecbefbf436b643a032eb64 Mon Sep 17 00:00:00 2001 From: Derek Leadbetter Date: Thu, 17 Nov 2022 18:38:57 -0500 Subject: [PATCH] IIIF #23 - Updating default WEB_CONCURRENCY to "2" --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index 7976cf8..c53956b 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -4,7 +4,7 @@ # the maximum value specified for Puma. Default is set to 5 threads for minimum # and maximum; this matches the default thread size of Active Record. # -workers Integer(ENV['WEB_CONCURRENCY'] || 1) +workers Integer(ENV['WEB_CONCURRENCY'] || 2) max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count } threads min_threads_count, max_threads_count