Removed interval.
This commit is contained in:
parent
7c43d957bc
commit
cf32a78ef5
@ -636,7 +636,6 @@ class RPCView(BaseView):
|
|||||||
async for msg in ws:
|
async for msg in ws:
|
||||||
if msg.type == web.WSMsgType.TEXT:
|
if msg.type == web.WSMsgType.TEXT:
|
||||||
try:
|
try:
|
||||||
await asyncio.sleep(random.uniform(0.01,0.1))
|
|
||||||
await rpc(msg.json())
|
await rpc(msg.json())
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print("Deleting socket", ex, flush=True)
|
print("Deleting socket", ex, flush=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user