diff --git a/config/database.yml b/config/database.yml index 4f535df..e5a7c86 100644 --- a/config/database.yml +++ b/config/database.yml @@ -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