Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Hi,
In SQLAlchemy, pool_recycle is super. It replaces staled/closed old connection.
It's possible to have this feature in CONPY ?
There is an almost equivalent with ping/reconnect https://mariadb.com/docs/reference/conpy/api/reconnect/, but that would be great that this mechanism (ping/reconnect if necessary) be integrated automatically into ConnectionPool.
Otherwise, just a timer in ConnectionPool parameter, and at its expiration reconnect.
Because I know the wait_timeout of my MariaDB server.
Thx a lot in advance.