smaller throttle in channel send
This commit is contained in:
parent
c1a73a5512
commit
3714d7074b
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user