fix: Forward shared flag to cache generator (#29146)
Right now assets.json is read on every requests because of this bug.
This commit is contained in:
parent
f6c8808483
commit
d46e2c20af
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ class RedisWrapper(redis.Redis):
|
|||
if not expires:
|
||||
if val is None and generator:
|
||||
val = generator()
|
||||
self.set_value(original_key, val, user=user)
|
||||
self.set_value(original_key, val, user=user, shared=shared)
|
||||
|
||||
else:
|
||||
local_cache[key] = val
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue