Update config/puma.rb (commit suggestion)

Co-authored-by: Jeremy Daer <jeremydaer@gmail.com>
This commit is contained in:
ari
2025-12-05 19:57:55 +01:00
committed by GitHub
parent 3acc58ff41
commit 430a0c612b
+1 -1
View File
@@ -25,7 +25,7 @@ if !Rails.env.local?
# worker per CPU, 1 thread per worker and tune it from there.
#
# https://edgeguides.rubyonrails.org/tuning_performance_for_deployment.html#puma
workers ENV.fetch("WEB_CONCURRENCY", Concurrent.physical_processor_count).to_i
workers Integer(ENV.fetch("WEB_CONCURRENCY") { Concurrent.physical_processor_count })
threads 1, 1
# Tell the Ruby VM that we're finished booting up.