[BUG] AgentServer 在事件循环上运行同步处理程序,阻塞所有并发请求(包括 /health)
作者: stuagano创建于 2026年6月12日更新于 2026年9月17日
标签has-closing-prready
if inspect.iscoroutinefunction(func):
result = await func(request)
else:
result = func(request) # ← sync handler runs ON the event loop内容来源: mlflow/mlflow