mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +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:
parent
8c27247397
commit
bf757a2f4d
7 changed files with 41 additions and 17 deletions
|
|
@ -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
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue