-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MemCacheStore local cache duplication
Followup: #42833 The previous fix wasn't working in practice because the LocalCache middleware doesn't use `with_local_cache` but directly set a regular `LocalStore` instance in the registry. So instead we redecorate it on every access. It may cause some extra allocations, but since it only happens in 6.1 mode, it's not as much of a concern.
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters