Browse Source

Add database statement timeout of 60s (#9382)

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
58a29db99d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      config/database.yml

+ 2
- 0
config/database.yml View File

@ -3,6 +3,8 @@ default: &default
pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %>
timeout: 5000
encoding: unicode
variables:
statement_timeout: 60000
development:
<<: *default

Loading…
Cancel
Save