Skip to content

Commit 477b941

Browse files
committed
Revert NODE_TIMEOUT back to 15
1 parent 9675d98 commit 477b941

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

plugwise_usb/constants.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@
3030
MESSAGE_HEADER: Final = b"\x05\x05\x03\x03"
3131

3232
# Max timeout in seconds
33-
STICK_TIME_OUT: Final = 11 # Stick responds with timeout messages within 10s.
34-
# In bigger networks a response from a node could take up a while
35-
NODE_TIME_OUT: Final = 45
36-
# A delayed response being received after 30 secs so lets use 45 seconds.
37-
# @bouwew: NodeJoinAckResponse to a NodeAddRequest
33+
# Stick responds with timeout messages within 10s.
34+
STICK_TIME_OUT: Final = 11
35+
# In bigger networks a response from a Node could take up a while, so lets use 15 seconds.
36+
NODE_TIME_OUT: Final = 15
3837

3938
MAX_RETRIES: Final = 3
4039
SUPPRESS_INITIALIZATION_WARNINGS: Final = 10 # Minutes to suppress (expected) communication warning messages after initialization

0 commit comments

Comments
 (0)