Skip to content

Commit

Permalink
Don't retry poll routines
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrisan committed Jan 15, 2020
1 parent e904115 commit 22d1cd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qtoggleserver/eq3bt/ports/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ async def _read_config(self) -> None:
_, data = await self.write_notify(
self.WRITE_HANDLE,
self.NOTIFY_HANDLE,
bytes([self.STATUS_SEND_HEADER] + self._make_status_value())
bytes([self.STATUS_SEND_HEADER] + self._make_status_value()),
retry_count=0
)

if len(data) < 6:
Expand Down

0 comments on commit 22d1cd9

Please sign in to comment.