smaller throttle in channel send

This commit is contained in:
Timothy Pogue 2022-11-19 13:29:23 -07:00
parent c1a73a5512
commit 3714d7074b

View File

@ -63,8 +63,8 @@ class WebSocketChannel:
# With the sleep call, it gives control to the event
# loop to schedule other channel send methods, and helps
# throttle how fast we send.
# 0.01 = 100 messages/second max throughput
await asyncio.sleep(0.01)
# 0.005 = 200 messages/second max throughput
await asyncio.sleep(0.005)
async def recv(self):
"""