Apr 21, 2020
Idle sessions are rarely useful, and can prevent other transactions and background garbage collection (vacuum) from making progress. To disable the timeout you can set the idle_in_transaction_session_timeout parameter to 0 in your service's advanced configuration.