1、将耗时最大的iot处理改成异步

2、iot循环5次等待func_handler加载完成
This commit is contained in:
hrz
2025-03-31 22:54:37 +08:00
parent fdd16ad3c7
commit 6ba63db47f
6 changed files with 150 additions and 71 deletions
+1
View File
@@ -93,6 +93,7 @@ class ConnectionHandler:
# iot相关变量
self.iot_descriptors = {}
self.func_handler = None
self.cmd_exit = self.config["CMD_exit"]
self.max_cmd_length = 0