Skip to content

Commit

Permalink
IIIF #23 - Updating default WEB_CONCURRENCY to "2"
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Nov 17, 2022
1 parent 1793c2a commit e55a8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e55a8da

Please sign in to comment.