update cache entries with tag and key
This commit is contained in:
parent
51d53597c0
commit
6d503ca00e
|
@ -30,7 +30,7 @@ class ModelCache:
|
|||
if tag == t:
|
||||
if key != k:
|
||||
logger.debug("Updating model cache: %s", tag)
|
||||
self.cache[i] = v
|
||||
self.cache[i] = (tag, key, value)
|
||||
return
|
||||
|
||||
logger.debug("Adding new model to cache: %s", tag)
|
||||
|
|
Loading…
Reference in New Issue