Default to max keepalive 0.

This commit is contained in:
Roger A. Light 2023-04-01 22:19:54 +01:00
parent cc97f433c1
commit 5a748806d3

View File

@ -187,7 +187,7 @@ static void config__init_reload(struct mosquitto__config *config)
config->log_timestamp = true;
mosquitto__free(config->log_timestamp_format);
config->log_timestamp_format = NULL;
config->max_keepalive = 65535;
config->max_keepalive = 0;
config->max_packet_size = 0;
config->max_inflight_messages = 20;
config->max_queued_messages = 1000;