diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-03 01:32:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 01:32:27 +0100 |
commit | 58a29db99d410771f62ffb9e8c2ce95e1d3cb4ae (patch) | |
tree | 3f32810872317784470faf6d62ca4508f6184560 /config | |
parent | 6ddf0432e71aea7c62f1ee7946da5538d2526a13 (diff) |
Add database statement timeout of 60s (#9382)
Diffstat (limited to 'config')
-rw-r--r-- | config/database.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml index 82e560515..90133881a 100644 --- a/config/database.yml +++ b/config/database.yml @@ -3,6 +3,8 @@ default: &default pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %> timeout: 5000 encoding: unicode + variables: + statement_timeout: 60000 development: <<: *default |