Alerts collector task

This commit is contained in:
April
2022-11-13 15:12:41 -07:00
parent ac2835e87e
commit 101b0545f3
2 changed files with 8 additions and 1 deletions

View File

@ -37,11 +37,13 @@ l.info("Starting i2RecordCollector")
l.info("Developed by mewtek32, Floppaa, Goldblaze, and needlenose")
async def main():
alertsTask = asyncio.create_task(RecordTasks.alertsTask())
coTask = asyncio.create_task(RecordTasks.coTask())
hfTask = asyncio.create_task(RecordTasks.hfTask())
dfTask = asyncio.create_task(RecordTasks.dfTask())
# In theory, these should all run concurrently without problems
await alertsTask
await coTask
await hfTask
await dfTask