Merge pull request #5174 from coopdevs/change-pool-size

Allow changing the connection pool size
This commit is contained in:
Luis Ramos
2020-04-06 19:29:09 +01:00
committed by GitHub

View File

@@ -1,7 +1,7 @@
defaults: &defaults
adapter: postgresql
encoding: unicode
pool: 5
pool: <%= ENV.fetch('OFN_DB_POOL', 5) %>
host: <%= ENV.fetch('OFN_DB_HOST', 'localhost') %>
username: <%= ENV.fetch('OFN_DB_USERNAME', 'ofn') %>
password: <%= ENV.fetch('OFN_DB_PASSWORD', 'f00d') %>