Skip to content

Commit

Permalink
Allow explicitly setting db connection pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel committed Feb 20, 2018
1 parent c499375 commit 1ce08e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 20
pool: <%= ENV["DB_POOL"] || ENV['MAX_WORKER_THREADS'] || 20 %>

development:
<<: *default
Expand Down

0 comments on commit 1ce08e9

Please sign in to comment.