---
default: &default
  database: hello_world
  username: benchmarkdbuser
  password: benchmarkdbpass
  host: tfb-database
  timeout: 5000
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 3 } %>

development:
  <<: *default

test:
  <<: *default

production_mysql:
  <<: *default
  adapter: trilogy
  ssl: true
  ssl_mode: 4 <%# Trilogy::SSL_PREFERRED_NOVERIFY %>
  tls_min_version: 3 <%# Trilogy::TLS_VERSION_12 %>

production_postgresql:
  <<: *default
  adapter: postgresql
  encoding: unicode
