Skip to content

Commit e9f1a6d

Browse files
authored
Fix bug with receipt of websocket event not triggering watchdog (#275)
1 parent 4801dfb commit e9f1a6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

simplipy/websocket.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ async def _async_receive_json(self) -> dict[str, Any]:
261261

262262
LOGGER.debug("Received data from websocket server: %s", data)
263263

264+
self._watchdog.trigger()
265+
264266
return cast(Dict[str, Any], data)
265267

266268
async def _async_send_json(self, payload: dict[str, Any]) -> None:

0 commit comments

Comments
 (0)