1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Set postgresql poolsize via RAILS_MAX_THREADS

This commit is contained in:
Ben Sheldon 2016-02-06 09:59:29 -08:00
parent f611e59cb1
commit 1273fc9b1d

View file

@ -19,7 +19,7 @@ default: &default
encoding: unicode encoding: unicode
# For details on connection pooling, see rails configuration guide # For details on connection pooling, see rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling # http://guides.rubyonrails.org/configuring.html#database-pooling
pool: 5 pool: <%%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
development: development:
<<: *default <<: *default