fix websocket batching (#1511)

This commit is contained in:
MajdajkD 2023-04-24 08:51:32 +02:00 committed by GitHub
parent 78d1977ebf
commit c86e9a3372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,8 @@ async def _handle_connection(websocket, path):
'text': to_send
}))
await asyncio.sleep(0)
skip_index += len(to_send)
message_num += 1