Fixes
This commit is contained in:
@@ -57,7 +57,7 @@ class SispmctlHost:
|
||||
|
||||
async def update_state(self):
|
||||
url = f"http://{self.hostname}:{self.port}"
|
||||
async with self._session.get(url, timeout=20) as resp:
|
||||
async with self._session.get(url, timeout=3) as resp:
|
||||
if resp.status == 200:
|
||||
result = await resp.json()
|
||||
await self.notify_switches(result)
|
||||
|
||||
Reference in New Issue
Block a user