Skip to content

Commit

Permalink
Ensure accept_no_response_limit > retries. (#2433)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen authored Oct 30, 2024
1 parent 69dc58e commit 5addc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
self.last_frame_end: float | None = 0
self.silent_interval: float = 0
self._lock = asyncio.Lock()
self.accept_no_response_limit = 3
self.accept_no_response_limit = retries + 3
self.count_no_responses = 0

@property
Expand Down

0 comments on commit 5addc51

Please sign in to comment.