feat: adjust async_delay
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": "world123"}
|
||||
return {"hello": "world 456"}
|
||||
|
||||
Reference in New Issue
Block a user