SyntaxFix
Write A Post
Hire A Developer
Questions
if you are using postgresql 9.6+, then in your postgresql.conf you can set
idle_in_transaction_session_timeout = 30000 (msec)
idle_in_transaction_session_timeout = 30000