aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xglutte_serial_web.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glutte_serial_web.py b/glutte_serial_web.py
index 00d131c..72bc6e4 100755
--- a/glutte_serial_web.py
+++ b/glutte_serial_web.py
@@ -50,7 +50,7 @@ def stream(socket):
while not socket.closed:
# Force to check if the client is still here
try:
- with Timeout(0.05, False):
+ with Timeout(0.1, False):
socket.receive()
except:
pass
@@ -59,7 +59,7 @@ def stream(socket):
socket.send(line)
except IndexError:
pass
- sleep(0.05)
+ sleep(0.1)
except:
raise
finally: