Hello,
I would like to know how maxLifetime and idleTimeout settings behave in a fixed-size Hikari pool.
In other words, under which circumstances are connections being retired from a fixed-size pool?
And since the pool is fixed-size is a new connection immediately created after a retirement?
Furthermore, what happens if the database itself (MySQL in my case) closes a connection after the database wait timeout is reached (in case the maxLifetime is not less than the DB timeout)?
Will the connection be retired from the fixed-size pool and another one will be immediately created?
Thanks,
Michail
I would like to know how maxLifetime and idleTimeout settings behave in a fixed-size Hikari pool.
In other words, under which circumstances are connections being retired from a fixed-size pool?
And since the pool is fixed-size is a new connection immediately created after a retirement?
Furthermore, what happens if the database itself (MySQL in my case) closes a connection after the database wait timeout is reached (in case the maxLifetime is not less than the DB timeout)?
Will the connection be retired from the fixed-size pool and another one will be immediately created?
Thanks,
Michail