You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the Server to specify the value it wishes the Client to use as a keep alive. This allows the Server to set a maximum allowed keepalive and still have the Client honor it.
MQTT5 specification
If the Server sends a Server Keep Alive on the CONNACK packet, the Client MUST use this value instead of the Keep Alive value the Client sent on CONNECT [MQTT-3.2.2-21]. If the Server does not send the Server Keep Alive, the Server MUST use the Keep Alive value set by the Client on CONNECT [MQTT-3.2.2-22]
Implementation notes
The server could be configured, through its config/moquette.conf file, to use a predefined keep alive value (in seconds), to override the one that the clients would transmit. This value is sent back to the the client as Server Keep Alive property in CONNACK.
The name of the setting to be used in the config file is server_keep_alive and could be expressed ad number, implicitly referring to seconds, or using a time specifier, in which case only seconds is permitted.
Examples:
server_keep_alive 10
or
server_keep_alive 10s
While
server_keep_alive 10d
is not permitted
The text was updated successfully, but these errors were encountered:
Allow the Server to specify the value it wishes the Client to use as a keep alive. This allows the Server to set a maximum allowed keepalive and still have the Client honor it.
MQTT5 specification
Implementation notes
The server could be configured, through its
config/moquette.conf
file, to use a predefinedkeep alive
value (in seconds), to override the one that the clients would transmit. This value is sent back to the the client asServer Keep Alive
property in CONNACK.The name of the setting to be used in the config file is
server_keep_alive
and could be expressed ad number, implicitly referring to seconds, or using a time specifier, in which case only seconds is permitted.Examples:
or
While
is not permitted
The text was updated successfully, but these errors were encountered: