From 2db525614371de011b2c65a41a8b342b15865f3c Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 22 Aug 2017 16:50:19 -0400 Subject: - modernize the mysql connection timeout docs Change-Id: Icb0474509539c1eb7536544749f2a48b4972078a (cherry picked from commit 4ce46fb0a085c1cc739e21881cc25567e663f8dc) --- lib/sqlalchemy/engine/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sqlalchemy/engine/__init__.py') diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py index 32e84c53f..da70b5187 100644 --- a/lib/sqlalchemy/engine/__init__.py +++ b/lib/sqlalchemy/engine/__init__.py @@ -382,6 +382,10 @@ def create_engine(*args, **kwargs): this is configurable with the MySQLDB connection itself and the server configuration as well). + .. seealso:: + + :ref:`pool_setting_recycle` + :param pool_reset_on_return='rollback': set the "reset on return" behavior of the pool, which is whether ``rollback()``, ``commit()``, or nothing is called upon connections -- cgit v1.2.1