This changes the postgresql idle connection timeout on Azure Postgres: ref: https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/connection-handling-best-practice-with-postgresql/ba-p/790883
- idle in transaction
- idle
- Connection to psql db on azure
$ psql -h HOST -p 5432 -U USER DBNAME --set=sslmode=require