Configure a connection timeout when connecting to Cloud SQL for PostgreSQL by using the HikariCP JDBC connection pool library.
Documentation pages that include this code sample
To view the code sample used in context, see the following documentation:
Code sample
Java