summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-10-30 11:47:32 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-10-30 11:47:32 -0400
commit07a199d929aa920b5b2b5d8b2d7008626a731f1f (patch)
tree67fe7a9ce80e4e9b42e0d98c49bf23b6fc689ea2
parent382950b70150434f124b6dc27df2b360e7d0331e (diff)
downloadsqlalchemy-07a199d929aa920b5b2b5d8b2d7008626a731f1f.tar.gz
- cross-linking for pool recycle feature
-rw-r--r--doc/build/core/pooling.rst2
-rw-r--r--lib/sqlalchemy/dialects/mysql/base.py5
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/build/core/pooling.rst b/doc/build/core/pooling.rst
index e00db02a8..094eff4c4 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 2c78de2fc..ad3ffa6f8 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