default: &default
  adapter: postgresql
  encoding: unicode
  # For details on connection pooling, see rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } * 4 %>
  username: postgres
  password:
  host: db

development:
  <<: *default
  database: app_development

test:
  <<: *default
  database: app_test

default: &default
  adapter: postgresql
  encoding: unicode
  # For details on connection pooling, see rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } * 10 %>
  username: postgres
  password:
  host: db

development:
  <<: *default
  database: app_development

test:
  <<: *default
  database: app_test

Create a massive DB connection pool
Create a massive DB connection pool
