From 1e03623383a8a52de7dae0c66a678f405a430c22 Mon Sep 17 00:00:00 2001 From: Stephen von Takach Date: Thu, 15 Oct 2026 10:29:16 +1100 Subject: [PATCH] chore(mosquitto): queue up to 10,000 messages per client Co-Authored-By: Claude Opus 5.5 --- config/mosquitto/mosquitto.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/mosquitto/mosquitto.conf b/config/mosquitto/mosquitto.conf index 8f6cfc6..2cb9389 100644 --- a/config/mosquitto/mosquitto.conf +++ b/config/mosquitto/mosquitto.conf @@ -12,3 +12,11 @@ auth_opt_jwt_getuser_uri /api/engine/v2/mqtt/mqtt_user auth_opt_jwt_aclcheck_uri /api/engine/v2/mqtt/mqtt_access auth_opt_jwt_response_mode status auth_opt_jwt_params_mode form + +# A client subscribing is sent every retained message under its filter at +# once, and mosquitto drops whatever does not fit its outgoing queue (1000 +# messages by default) without telling it. Large sites retain far more than +# that, so a client subscribing widely (stagehand's hot list, source clearing +# or sweeping retained state) saw only part of it. A client that needs more +# can subscribe more narrowly, or refresh. +max_queued_messages 10000