From 0fb3d0186f24e980bd6bba8e3158384b64249c79 Mon Sep 17 00:00:00 2001 From: Swann Date: Fri, 15 Feb 2019 12:11:07 +0100 Subject: [PATCH] fix(rcf): restore old values --- net_components.py | 2 +- net_operators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net_components.py b/net_components.py index 70e38b9..047e501 100644 --- a/net_components.py +++ b/net_components.py @@ -130,7 +130,7 @@ class Client(): for f in self.recv_callback: f(rcfmsg) else: - await asyncio.sleep(0.016) + await asyncio.sleep(0.001) def push_update(self, key, mtype, body): rcfmsg = RCFMessage(key, self.id, mtype, body) diff --git a/net_operators.py b/net_operators.py index 183e54b..fb6a534 100644 --- a/net_operators.py +++ b/net_operators.py @@ -83,7 +83,7 @@ def observer(): client.push_update(key,value_type,value) except: pass - return 0.16 + return 0.016 # CLIENT-SERVER