You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
min_idle and max_lifetime or idle_timeout are how prioritize?
Q: Set to 10 min_idle and set 10 secs to max_lifetime and then after 10 secs...
A1: kill 10 connections, and then create new connections for keep min_idle
A2: ignore max_lifetime for keep min_idle
Q: Set to 10 min_idle and set 10 secs to idle_timeout and then after 10 secs all connections are idle...
A1: kill 10 connections, and then create new connections for keep min_idle
A2: ignore idle_timeout for keep min_idle
Which answer is correct? Or another?
The text was updated successfully, but these errors were encountered:
A1 is answer to both of your questions. The timeouts will always cause connections to be closed, and the pool will then make new ones to meet min_size.
Hi.
min_idle
andmax_lifetime
oridle_timeout
are how prioritize?Q: Set to 10
min_idle
and set 10 secs tomax_lifetime
and then after 10 secs...A1: kill 10 connections, and then create new connections for keep
min_idle
A2: ignore
max_lifetime
for keepmin_idle
Q: Set to 10
min_idle
and set 10 secs toidle_timeout
and then after 10 secs all connections are idle...A1: kill 10 connections, and then create new connections for keep
min_idle
A2: ignore
idle_timeout
for keepmin_idle
Which answer is correct? Or another?
The text was updated successfully, but these errors were encountered: