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:
committed by
Tim Graham
parent
8c27247397
commit
bf757a2f4d
@@ -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
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user