Add database statement timeout of 60s (#9382)

lolsob-rspec
Eugen Rochko 2018-12-03 01:32:27 +01:00 committed by GitHub
parent 626a544d08
commit 01861b4f8e
1 changed files with 2 additions and 0 deletions

View File

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