]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- cross-linking for pool recycle feature
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 Oct 2015 15:47:32 +0000 (11:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 Oct 2015 15:47:56 +0000 (11:47 -0400)
(cherry picked from commit 07a199d929aa920b5b2b5d8b2d7008626a731f1f)

doc/build/core/pooling.rst
lib/sqlalchemy/dialects/mysql/base.py

index ce6d443f95adc8fb66b60bbc83d9b4914322e5f8..971f56457c211ef5e03dc14b66af663160774447 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~~~~~~~~~~
 
index 43d7889eba1a664cfdeb1a50381057d96bd3be9e..a6251e8d50b51b4f546fe2ec8bf41c6f2ea277a3 100644 (file)
@@ -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