Skip to content

Commit

Permalink
IIIF #23 - Adding environment variable for database connection pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Nov 18, 2022
1 parent 4588d7b commit 00b7c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
default: &default
adapter: postgresql
timeout: 5000
pool: 20
pool: <%= ENV.fetch('DATABASE_POOL') { 20 } %>
host: <%= ENV.fetch('DATABASE_HOST') { 'localhost' } %>
port: <%= ENV.fetch('DATABASE_POST') { 5432 } %>
username: <%= ENV.fetch('DATABASE_USERNAME') { '' } %>
Expand Down

0 comments on commit 00b7c66

Please sign in to comment.