From 255c65f84d99df6a476e43e0c0a54c6d2734f9ef Mon Sep 17 00:00:00 2001 From: Kim - DG9VH Date: Wed, 11 Nov 2020 22:30:28 +0100 Subject: [PATCH] make communication faster between server and client --- logtailer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logtailer.py b/logtailer.py index 88b8138..a038c71 100644 --- a/logtailer.py +++ b/logtailer.py @@ -70,7 +70,7 @@ def view_log(websocket, path): content = conv.convert(content, full=False) yield from websocket.send(content) else: - yield from asyncio.sleep(1) + yield from asyncio.sleep(0.2) except ValueError as e: try: