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()