diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-10-14 15:14:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 15:14:29 +0100 |
commit | cd8f7e125172629984f60546446e7c9d261b26c0 (patch) | |
tree | 1f024be4514de74f3328c2a069726a6c5ad4bf6c /clientapi | |
parent | eac5678449f9134769344a6d7b3761e79eed1328 (diff) |
Set inactivity threshold on durable consumers in the roomserver input API (#2795)
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.
Diffstat (limited to 'clientapi')
0 files changed, 0 insertions, 0 deletions