mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-06 18:12:47 +01:00
Changes the moment we update keepalive_tick.
In order to keep sending keep alive messages in the scenario were client publish too often with QoS0 the keepalive is updated when the response is received.
This commit is contained in:
@@ -84,7 +84,7 @@ typedef struct mqtt_connect_info {
|
||||
char *password;
|
||||
char *will_topic;
|
||||
char *will_message;
|
||||
int keepalive; /*!< keepalive=0 -> keepalive is disabled */
|
||||
int64_t keepalive; /*!< keepalive=0 -> keepalive is disabled */
|
||||
int will_length;
|
||||
int will_qos;
|
||||
int will_retain;
|
||||
|
||||
Reference in New Issue
Block a user