I set connection and command timeout to 10 minutes in my application (client side).
Than my application runs a simple query: SELECT pg_sleep(65)
On some servers it works fine, but other servers close the connection after 60 seconds.
Could this be some sort of PostgreSQL server configuration which limits timeouts and ignores my client settings?
SHOW statement_timeout;keepalive,keepalives_idle, andkeepalives_intervalto signal other network appliances in the route that the connection is still used? client-side: postgresql.org/docs/current/libpq-connect.html#LIBPQ-KEEPALIVES , server-side: postgresql.org/docs/current/…