Browse Source

Change postgres connection timeout (#21790)

closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
3d40282f1b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/database.yml

+ 1
- 0
config/database.yml View File

@ -2,6 +2,7 @@ default: &default
adapter: postgresql
pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %>
timeout: 5000
connect_timeout: 15
encoding: unicode
sslmode: <%= ENV['DB_SSLMODE'] || "prefer" %>

Loading…
Cancel
Save