diff --git a/test.py b/test.py index 6feeba4..edb5e8a 100644 --- a/test.py +++ b/test.py @@ -23,7 +23,7 @@ class MQTTClient: async def push(self): self.client.publish(self.topic, payload=json.dumps({"msg": "open_led"}, ensure_ascii=False), qos=0) - await asyncio.sleep(5) + await asyncio.sleep(10) self.client.publish(self.topic, payload=json.dumps({"msg": "push_stream"}, ensure_ascii=False), qos=0)