From 52d0f7f1aeec2cf0fe5d4a0583f8daad40ffbbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E7=8E=AE?= Date: Thu, 21 Nov 2024 15:15:58 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/edge_context.py | 1 - 1 file changed, 1 deletion(-) diff --git a/core/edge_context.py b/core/edge_context.py index 018a20d..a332be0 100644 --- a/core/edge_context.py +++ b/core/edge_context.py @@ -270,7 +270,6 @@ class EdgeContext(LoggingMixin): # 启动 FastAPI 服务器 tasks.append(self.loop.create_task(self.server.serve())) self.logger.info('edge context start!') - self.loop.run_until_complete(asyncio.gather(*tasks)) # 保持事件循环的持续运行 self.loop.run_forever()