From abe3d7d180053d6f980ae432ee25eb1d9ef6ba4e Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 13 Dec 2022 17:15:55 +0000 Subject: [PATCH] Revert to max_keepalive=0. --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 444b6c2d..1d131e91 100644 --- a/src/conf.c +++ b/src/conf.c @@ -284,7 +284,7 @@ static void config__init_reload(struct mosquitto__config *config) mosquitto__FREE(config->log_timestamp_format); config->global_max_clients = -1; config->global_max_connections = -1; - config->max_keepalive = 65535; + config->max_keepalive = 0; config->max_packet_size = 0; config->max_inflight_messages = 20; config->max_queued_messages = 1000;