GRN2-XX: Patch to overcome performance issues with the database. (#2454)

This commit is contained in:
Jesus Federico
2021-01-20 17:25:49 -05:00
committed by GitHub
parent 60b8bbfa06
commit 44abc0e91e
2 changed files with 15 additions and 6 deletions

View File

@ -1,5 +1,5 @@
default: &default
pool: 9
pool: 5
timeout: 5000
development:
@ -22,3 +22,5 @@ production:
username: <%= ENV['DB_USERNAME'] %>
password: <%= ENV['DB_PASSWORD'] %>
pool: <%= ENV['DB_POOL_SIZE'] || '9' %>
connect_timeout: <%= ENV['DB_CONNECT_TIMEOUT'] || '5' %>
read_timeout: <%= ENV['DB_READ_TIMEOUT'] || '120' %>