Skip to content

Commit

Permalink
remove bind from puma config
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeurer committed Dec 8, 2023
1 parent b74ed33 commit 22bc192
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
threads min_threads_count, max_threads_count

if ENV["RAILS_ENV"] == "production"
bind "tcp://127.0.0.1:#{ENV.fetch "PORT"}"

require "concurrent-ruby"
worker_count = Integer(ENV.fetch("WEB_CONCURRENCY") { Concurrent.physical_processor_count })
if worker_count > 1
Expand Down

0 comments on commit 22bc192

Please sign in to comment.