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

Merge pull request #23528 from bensheldon/patch-1

Set database poolsize via rails_max_threads
This commit is contained in:
Richard Schneeman 2016-02-10 14:19:21 -06:00
commit 391061a30d

View file

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