From b75f559e4dcbaaca3682dfd75fd4af3a220f3665 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 12 Jun 2025 13:34:49 +0800 Subject: [PATCH] =?UTF-8?q?30=E7=A7=92=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/blueprints/message_push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/dashboard/blueprints/message_push.py b/admin/dashboard/blueprints/message_push.py index 5862984..6b53385 100644 --- a/admin/dashboard/blueprints/message_push.py +++ b/admin/dashboard/blueprints/message_push.py @@ -65,7 +65,7 @@ def send_message_in_thread(func, *args, **kwargs): # 在共享事件循环中运行任务 future = asyncio.run_coroutine_threadsafe(send(), loop) # 等待任务完成,设置超时时间 - future.result(timeout=10) + future.result(timeout=30) except Exception as e: logger.error(f"消息发送任务执行失败: {e}")