From d5c82cca44ccd20c64e02bf38703d9c367989909 Mon Sep 17 00:00:00 2001 From: GoodyHao <865700600@qq.com> Date: Thu, 17 Apr 2025 00:10:19 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=A2=9E=E5=8A=A0retry=E6=9C=BA?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/config/manage_api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/config/manage_api_client.py b/main/xiaozhi-server/config/manage_api_client.py index ed8d94202..2609511d0 100644 --- a/main/xiaozhi-server/config/manage_api_client.py +++ b/main/xiaozhi-server/config/manage_api_client.py @@ -45,7 +45,7 @@ class ManageApiClient: cls._secret = cls.config.get('secret') cls.max_retries = cls.config.get('max_retries', 3) # 最大重试次数 - cls.retry_delay = cls.config.get('retry_delay', 1) # 初始重试延迟(秒) + cls.retry_delay = cls.config.get('retry_delay', 10) # 初始重试延迟(秒) # NOTE(goody): 2025/4/16 http相关资源统一管理,后续可以增加线程池或者超时 # 后续也可以统一配置apiToken之类的走通用的Auth cls._client = httpx.Client(