1 year ago

#60740

test-img

Carlos Gonzalez

Drop idle connection in Quarkus

I want a database connection that has gone idle to be dropped once its maxLifetime has been reached.

How can we do this in quarkus? Is this achieved with these 2 properties?

quarkus.datasource.jdbc.idle-removal-interval quarkus.datasource.jdbc.max-lifetime

How can I check that idle connections are actually being dropped? Any logs I can activate?

quarkus

agroal

0 Answers

Your Answer

Accepted video resources