• src/sbbs3/mqtt_broker.cpp mqtt_topic.cpp mqtt_topic.h

    From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, May 11, 2026 10:45:24
    https://gitlab.synchro.net/main/sbbs/-/commit/35fa5b0d4150078a76e4ab7d
    Modified Files:
    src/sbbs3/mqtt_broker.cpp mqtt_topic.cpp mqtt_topic.h
    Log Message:
    mqtt_broker: periodic cleanup of expired retained messages

    Walk the topic tree once per minute and remove retained messages whose MESSAGE_EXPIRY property has elapsed. Previously, expired retained
    messages were only skipped on delivery to new subscribers but never
    actually removed from the tree.

    Nothing currently sets MESSAGE_EXPIRY, but this prevents unbounded
    accumulation if/when publishers start using it.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net