optimisation: Populate data caches on startup.

This commit is contained in:
2021-10-05 10:21:24 +03:00
parent a3b339d1cf
commit 97e441f911
3 changed files with 58 additions and 0 deletions

View File

@@ -101,6 +101,8 @@ async def _study_tracker():
@module.launch_task
async def launch_study_tracker(client):
# First pre-load the untracked channels
await admin.untracked_channels.launch_task(client)
asyncio.create_task(_study_tracker())