quarkiverse / quarkus-ironjacamar

IronJacamar is an implementation of the Jakarta Connector Architecture specification
https://docs.quarkiverse.io/quarkus-ironjacamar/dev/index.html
Apache License 2.0
4 stars 2 forks source link

Start IdleRemover in the application startup #128

Closed gastaldi closed 3 months ago

gastaldi commented 3 months ago

This ensures that the IdleRemover service is started and stopped when the idle-timeout-minutes is higher than 0

gastaldi commented 3 months ago

@vsevel this service makes sure that the managed connection is closed after the idle-timeout-minutes period.

About #123, closing idle connections affects the ironjacamar_pool_active_count_total metric, as it returns to 0 after all idle connections are closed