From: Mike Bayer Date: Fri, 30 Oct 2015 15:47:32 +0000 (-0400) Subject: - cross-linking for pool recycle feature X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf70786950460300f796dbd9ba20001498c67896;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - cross-linking for pool recycle feature (cherry picked from commit 07a199d929aa920b5b2b5d8b2d7008626a731f1f) --- diff --git a/doc/build/core/pooling.rst b/doc/build/core/pooling.rst index ce6d443f95..971f56457c 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 43d7889eba..a6251e8d50 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