summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-11-11 07:18:45 -0800
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-11-11 07:18:45 -0800
commit4c5cea70734fe8f4082c6a9bd8b26cf0a157ca78 (patch)
treede4a70a9ae157d433d759c51e9e39273658d10b5 /docs
parentcc0ac26f4a3947be8a3fc55d4784d3474b640c23 (diff)
parenta2e927b7ed25bd319f866c55b18cd214a149d859 (diff)
Merge pull request #218 from mgrouchy/ticket_18582
Fixed #18582 -- Added a no-op close to BaseCache
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/cache.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 2f95c33dd5..a15cf58370 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -785,6 +785,16 @@ nonexistent cache key.::
However, if the backend doesn't natively provide an increment/decrement
operation, it will be implemented using a two-step retrieve/update.
+
+You can close the connection to your cache with ``close()`` if implemented by
+the cache backend.
+
+ >>> cache.close()
+
+.. note::
+
+ For caches that don't implement ``close`` methods it is a no-op.
+
.. _cache_key_prefixing:
Cache key prefixing