I am using Hikari Connection pool with Cockroach DB. I am facing below error.
Failed to validate connection org.postgresql.jdbc.PgConnection@3b2c7c97 (This connection has been closed.). Possibly consider using a shorter maxLifetime value.
Currently i have set Hikari max-lifetime as 5 minutes. Default is 30 minutes but still i am getting error to use shorter maxLifetime value.
What is the maxLifetime value for cockroach DB.