mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 18:56:30 +00:00
Bump aiohttp to 3.9.1 (#4729)
* Revert "Revert "Bump aiohttp to 3.9.0 (#4714)" (#4722)" This reverts commit c0868d9dac32cd1e073cb39e9b0b19ca1e1f9ff3. * Bump aiohttp to 3.9.1 changelog: https://github.com/aio-libs/aiohttp/compare/v3.8.6...v3.9.1 The issues that caused us to revert 3.9.0 have been fixed
This commit is contained in:
parent
bb31b1bc6e
commit
cb03d039f4
@ -1,5 +1,5 @@
|
||||
aiodns==3.1.1
|
||||
aiohttp==3.8.6
|
||||
aiohttp==3.9.1
|
||||
aiohttp-fast-url-dispatcher==0.1.1
|
||||
async_timeout==4.0.3
|
||||
atomicwrites-homeassistant==1.4.1
|
||||
|
@ -68,7 +68,7 @@ class RestAPI(CoreSysAttributes):
|
||||
attach_fast_url_dispatcher(self.webapp, FastUrlDispatcher())
|
||||
|
||||
# service stuff
|
||||
self._runner: web.AppRunner = web.AppRunner(self.webapp)
|
||||
self._runner: web.AppRunner = web.AppRunner(self.webapp, shutdown_timeout=5)
|
||||
self._site: web.TCPSite | None = None
|
||||
|
||||
async def load(self) -> None:
|
||||
@ -673,9 +673,7 @@ class RestAPI(CoreSysAttributes):
|
||||
async def start(self) -> None:
|
||||
"""Run RESTful API webserver."""
|
||||
await self._runner.setup()
|
||||
self._site = web.TCPSite(
|
||||
self._runner, host="0.0.0.0", port=80, shutdown_timeout=5
|
||||
)
|
||||
self._site = web.TCPSite(self._runner, host="0.0.0.0", port=80)
|
||||
|
||||
try:
|
||||
await self._site.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user