add pool settings to postgres config

This commit is contained in:
2021-08-13 18:14:08 +02:00
parent a297b54476
commit 70d698d433

View File

@@ -86,4 +86,5 @@ test:
production: production:
adapter: postgresql adapter: postgresql
encoding: unicode encoding: unicode
pool: <%= ENV['RAILS_MAX_THREADS'] || 10 %>
url: <%= ENV['DATABASE_URL'] %> url: <%= ENV['DATABASE_URL'] %>