make communication faster between server and client
This commit is contained in:
parent
25a05212a1
commit
255c65f84d
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def view_log(websocket, path):
|
||||||
content = conv.convert(content, full=False)
|
content = conv.convert(content, full=False)
|
||||||
yield from websocket.send(content)
|
yield from websocket.send(content)
|
||||||
else:
|
else:
|
||||||
yield from asyncio.sleep(1)
|
yield from asyncio.sleep(0.2)
|
||||||
|
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue