BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/mqtt_broker.cpp mqtt_topic.cpp mqtt_topic.h
De:       Deuc¨
Data:     Mon, 11 May 2026 10:45:24 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]