mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-15 03:06:45 +03:00
add async queue
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user