Skip to content

Commit 4b69090

Browse files
authored
add note about keep alive and relation to ping timeout (#549)
1 parent 2b82760 commit 4b69090

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awsiot/mqtt5_client_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
between the point at which the client finishes transmitting one MQTT packet and the point it starts
3737
sending the next. The client will use PINGREQ packets to maintain this property. If the responding
3838
CONNACK contains a keep alive property value, then that is the negotiated keep alive value. Otherwise,
39-
the keep alive sent by the client is the negotiated value.
39+
the keep alive sent by the client is the negotiated value. keep_alive_interval_sec must be set to at
40+
least 1 second greater than ping_timeout_ms (default 30,000 ms) or it will fail validation.
4041
4142
**username** (`str`): Username to connect with.
4243

0 commit comments

Comments
 (0)