1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #21147 -- Avoided time.time precision issue with cache backends.

The precision of time.time() is OS specific and it is possible for the
resolution to be low enough to allow reading a cache key previously set
with a timeout of 0.
This commit is contained in:
Michael Manfre
2013-09-23 12:40:19 -04:00
committed by Tim Graham
parent 8c27247397
commit bf757a2f4d
7 changed files with 41 additions and 17 deletions

View File

@@ -457,6 +457,10 @@ these changes.
* ``ModelAdmin.get_formsets`` will be removed.
* Remove the backward compatible shims introduced to rename the
``BaseMemcachedCache._get_memcache_timeout()`` method to
``get_backend_timeout()``.
2.0
---