__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

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

    From Deucе@VERT to Git commit to main/sbbs/master on Mon May 11 10:45:24 2026
    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