mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend.
This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None.
This commit is contained in:
@@ -9,4 +9,5 @@ Django 1.9.1 fixes several bugs in 1.9.
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Fixed ``BaseCache.get_or_set()`` with the ``DummyCache`` backend
|
||||
(:ticket:`25840`).
|
||||
|
||||
Reference in New Issue
Block a user