feat: adjust async_delay

This commit is contained in:
martsforever
2025-12-09 19:14:42 +08:00
parent e3755b4e59
commit e68f9a351b
+1 -1
View File
@@ -23,4 +23,4 @@ def add_test_sync_route(app: FastAPI):
"""异步延迟delay秒""" """异步延迟delay秒"""
print(f"Process {os.getpid()} handling /async_delay") print(f"Process {os.getpid()} handling /async_delay")
await asyncio.sleep(delay) await asyncio.sleep(delay)
return {"hello": "world 456"} return {"hello": "world aaa"}