fix-authors

This commit is contained in:
2022-10-31 16:03:48 +02:00
parent ee26388752
commit ece6a3410c
2 changed files with 12 additions and 5 deletions

View File

@@ -251,6 +251,11 @@ class ShoutsCache:
shouts_by_rating.sort(lambda s: s.stat["rating"], reverse=True)
return shouts_by_rating
@staticmethod
async def get_all_authors_slugs():
slugs = ShoutsCache.by_author.keys()
return slugs
@staticmethod
async def worker():
while True: