add authors and subscriptions in Topic stat

This commit is contained in:
knst-kotov
2021-12-15 12:17:16 +03:00
parent 01a974e974
commit a98d5f6ee6
4 changed files with 28 additions and 17 deletions

View File

@@ -32,8 +32,8 @@ async def start_up():
git_task = asyncio.create_task(GitTask.git_task_worker())
shouts_cache_task = asyncio.create_task(ShoutsCache.worker())
view_storage_task = asyncio.create_task(ShoutViewStorage.worker())
topic_stat_task = asyncio.create_task(TopicStat.worker())
shout_author_task = asyncio.create_task(ShoutAuthorStorage.worker())
topic_stat_task = asyncio.create_task(TopicStat.worker())
async def shutdown():
await redis.disconnect()