feat: async_delay 123456
This commit is contained in:
@@ -23,4 +23,4 @@ def add_test_sync_route(app: FastAPI):
|
||||
"""异步延迟delay秒"""
|
||||
print(f"Process {os.getpid()} handling /async_delay")
|
||||
await asyncio.sleep(delay)
|
||||
return {"hello": "world ddd"}
|
||||
return {"hello": "world 123456"}
|
||||
|
||||
Reference in New Issue
Block a user