add async queue

This commit is contained in:
Dmitry Afanasyev 2022-08-20 02:39:02 +03:00
parent d9b4556795
commit 4f9c0aa1f7

View File

@ -98,6 +98,7 @@ async def worker() -> None:
while True:
update = await queue.get()
await dispatcher.process_update(update)
await asyncio.sleep(1)
async def create_app() -> web.Application: