4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-03-14 16:13:11 +00:00
Neil Alexander cd8f7e1251
Set inactivity threshold on durable consumers in the roomserver input API ()
This prevents us from holding onto durable consumers indefinitely for
rooms that have long since turned inactive, since they do have a bit of
a processing overhead in the NATS Server. If we clear up a consumer and
then a room becomes active again, the consumer gets recreated as needed.

The threshold is set to 24 hours for now, we can tweak it later if needs
be.
2022-10-14 15:14:29 +01:00
..
2022-07-11 14:31:31 +01:00