how to set postgresql command timeout in rails -
how to set postgresql command timeout in rails -
i'm using heroku , heroku postgresql. how set db command timeout exception when sql command takes longer 10 seconds?
configure database.yml this, key bit beingness variables hash:
defaults: &default adapter: postgresql encoding: unicode pool: 5 min_messages: warning variables: statement_timeout: 5000
ruby-on-rails postgresql heroku
Comments
Post a Comment