I am working with stack: scala, hikari-pool, quill, postgres. Are there any build-in instruments in hikari-pool/quill to check if connection is valid and database is ok?
CodePudding user response:
You need to set the hikaricp.connectionTestQuery
property in the HikariCP config to "SELECT 1"
.