Skip to content

Commit

Permalink
Fix puma config
Browse files Browse the repository at this point in the history
  • Loading branch information
amatriain committed Jan 5, 2020
1 parent acd9a27 commit 8dcda2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/puma.rb
Expand Up @@ -8,17 +8,17 @@
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
threads min_threads_count, max_threads_count

# Specifies the `environment` that Puma will run in.
#
environment ENV.fetch("RAILS_ENV") { "development" }

# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
# In production bind to a unix socket instead
#
if environment != 'production'
port ENV.fetch('PORT') { 3000 }
end

# Specifies the `environment` that Puma will run in.
#
environment ENV.fetch("RAILS_ENV") { "development" }

# Specifies the `pidfile` that Puma will use.
# pidfile ENV.fetch("PIDFILE") { "tmp/pids/feedbunch.pid" }

Expand Down

0 comments on commit 8dcda2b

Please sign in to comment.