另外: https://docs.aiohttp.org/en/stable/web_advanced.html#application-runners
Application runners run_app() provides a simple blocking API for running an Application.
For starting the application asynchronously or serving on multiple HOST/PORT AppRunner exists.
是说 run_app 暴露出去的服务是阻塞的么?
1
tisswb 2022-01-25 17:37:42 +08:00
aio 的话 已经是协程了 还要啥多进程?
|