Reinstate Redis cache

This commit is contained in:
2022-09-04 21:38:53 +01:00
parent 60c43b4eb5
commit 0f717b987d
3 changed files with 174 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ class Chan4(object):
continue
else:
posts[key][index]["type"] = "update"
#db.r.set(redis_key, hash)
db.r.set(redis_key, hash)
for key2, value in list(post.items()):
if key2 in ATTRMAP: