forked from indymedia/epicyon
Update memory cache after loading from html post cache
parent
3259190161
commit
87d5cba6d2
|
@ -1923,7 +1923,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
|
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
|
||||||
postJsonObject)
|
postJsonObject)
|
||||||
if postHtml:
|
if postHtml:
|
||||||
return preparePostFromHtmlCache(postHtml,boxName,pageNumber)
|
postHtml=preparePostFromHtmlCache(postHtml,boxName,pageNumber)
|
||||||
|
updateRecentPostsCache(recentPostsCache,maxRecentPosts, \
|
||||||
|
postJsonObject,postHtml)
|
||||||
|
return postHtml
|
||||||
|
|
||||||
# don't create new html within the bookmarks timeline
|
# don't create new html within the bookmarks timeline
|
||||||
# it should already have been created for the inbox
|
# it should already have been created for the inbox
|
||||||
|
|
Loading…
Reference in New Issue