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:
commit
391061a30d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue