Skip to content

Commit

Permalink
Increase upnp timeout from 5 seconds to 10 seconds (home-assistant#40540
Browse files Browse the repository at this point in the history
)
  • Loading branch information
StevenLooman authored and frenck committed Sep 25, 2020
1 parent a404c51 commit 82c137d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/upnp/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def async_create_device(cls, hass: HomeAssistantType, ssdp_location: str):
"""Create UPnP/IGD device."""
# build async_upnp_client requester
session = async_get_clientsession(hass)
requester = AiohttpSessionRequester(session, True)
requester = AiohttpSessionRequester(session, True, 10)

# create async_upnp_client device
factory = UpnpFactory(requester, disable_state_variable_validation=True)
Expand Down

0 comments on commit 82c137d

Please sign in to comment.