fix(rcf): restore old values
This commit is contained in:
@ -130,7 +130,7 @@ class Client():
|
|||||||
for f in self.recv_callback:
|
for f in self.recv_callback:
|
||||||
f(rcfmsg)
|
f(rcfmsg)
|
||||||
else:
|
else:
|
||||||
await asyncio.sleep(0.016)
|
await asyncio.sleep(0.001)
|
||||||
|
|
||||||
def push_update(self, key, mtype, body):
|
def push_update(self, key, mtype, body):
|
||||||
rcfmsg = RCFMessage(key, self.id, mtype, body)
|
rcfmsg = RCFMessage(key, self.id, mtype, body)
|
||||||
|
@ -83,7 +83,7 @@ def observer():
|
|||||||
client.push_update(key,value_type,value)
|
client.push_update(key,value_type,value)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
return 0.16
|
return 0.016
|
||||||
|
|
||||||
|
|
||||||
# CLIENT-SERVER
|
# CLIENT-SERVER
|
||||||
|
Reference in New Issue
Block a user