feat: async_delay 456789

This commit is contained in:
martsforever
2025-12-17 00:19:15 +08:00
parent 2150ba6c78
commit 5f672c6203
+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 123456"} return {"hello": "world 456789"}