Skip to content

Commit

Permalink
update puma config
Browse files Browse the repository at this point in the history
  • Loading branch information
phawk committed Jul 13, 2016
1 parent 8ba49ee commit 99c855b
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 @@ -44,7 +44,7 @@
ActiveSupport.on_load(:active_record) do
config = ActiveRecord::Base.configurations[Rails.env] ||
Rails.application.config.database_configuration[Rails.env]
config['pool'] = ENV['DB_POOL'] || ENV['MAX_PUMA_THREADS'] || 5
config['pool'] = ENV['DB_POOL'] || ENV['RAILS_MAX_THREADS'] || 5
ActiveRecord::Base.establish_connection(config)
end
end
Expand Down

0 comments on commit 99c855b

Please sign in to comment.