1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add database statement timeout of 60s (#9382)

This commit is contained in:
Eugen Rochko 2018-12-03 01:32:27 +01:00 committed by GitHub
parent 6ddf0432e7
commit 58a29db99d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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