Skip to content

Commit

Permalink
Adding back worker number to puma even though it's also set by env va…
Browse files Browse the repository at this point in the history
…riable
  • Loading branch information
RyanTG committed Sep 18, 2024
1 parent d361810 commit f350fe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
threads threads_count, threads_count

workers ENV.fetch("WEB_CONCURRENCY") { 2 }

# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
port ENV.fetch("PORT", 3000)

Expand Down

0 comments on commit f350fe3

Please sign in to comment.