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
I would like to understand how connection lifetime is handled in the MySQL2 connection pool. Are connections "eternal" by default, or is there an automatic mechanism that eventually closes them?
Additionally, is it possible to configure a maxLifetime for the connections, similar to what is available in other languages/drivers, to ensure that they are closed after a certain period?
Could you also explain the conditions or timeouts under which a connection is automatically closed when it’s no longer in use?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
I would like to understand how connection lifetime is handled in the MySQL2 connection pool. Are connections "eternal" by default, or is there an automatic mechanism that eventually closes them?
Additionally, is it possible to configure a maxLifetime for the connections, similar to what is available in other languages/drivers, to ensure that they are closed after a certain period?
Could you also explain the conditions or timeouts under which a connection is automatically closed when it’s no longer in use?
Thanks for your help!
The text was updated successfully, but these errors were encountered: