From: Mike Bayer Date: Fri, 30 Oct 2015 15:47:32 +0000 (-0400) Subject: - cross-linking for pool recycle feature X-Git-Tag: rel_1_1_0b1~84^2~70^2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07a199d929aa920b5b2b5d8b2d7008626a731f1f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - cross-linking for pool recycle feature --- diff --git a/doc/build/core/pooling.rst b/doc/build/core/pooling.rst index e00db02a89..094eff4c46 100644 --- a/doc/build/core/pooling.rst +++ b/doc/build/core/pooling.rst @@ -209,6 +209,8 @@ correspond to a single request failing with a 500 error, then the web applicatio continuing normally beyond that. Hence the approach is "optimistic" in that frequent database restarts are not anticipated. +.. _pool_setting_recycle: + Setting Pool Recycle ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index 2c78de2fc6..ad3ffa6f8c 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -32,6 +32,11 @@ the ``pool_recycle`` option which controls the maximum age of any connection:: engine = create_engine('mysql+mysqldb://...', pool_recycle=3600) +.. seealso:: + + :ref:`pool_setting_recycle` - full description of the pool recycle feature. + + .. _mysql_storage_engines: CREATE TABLE arguments including Storage Engines