Skip to content

Commit

Permalink
Change retry timing
Browse files Browse the repository at this point in the history
Retry timing more in line with command write delays (as documented, anyway)
  • Loading branch information
WillCodeForCats committed Jul 14, 2023
1 parent e42c56e commit 917252b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solaredge_modbus_multi/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RetrySettings(IntEnum):
"""Retry settings when opening a connection to the inverter fails."""

Time = 800 # first attempt in milliseconds
Ratio = 2 # time multiplier between each attempt
Ratio = 3 # time multiplier between each attempt
Limit = 4 # number of attempts before failing


Expand Down

0 comments on commit 917252b

Please sign in to comment.