1
0
Fork 0

update cache entries with tag and key

This commit is contained in:
Sean Sube 2023-02-13 18:27:20 -06:00
parent 51d53597c0
commit 6d503ca00e
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ModelCache:
if tag == t: if tag == t:
if key != k: if key != k:
logger.debug("Updating model cache: %s", tag) logger.debug("Updating model cache: %s", tag)
self.cache[i] = v self.cache[i] = (tag, key, value)
return return
logger.debug("Adding new model to cache: %s", tag) logger.debug("Adding new model to cache: %s", tag)