dendrite/setup
Neil e93bdd56fd
Set max age for roomserver input stream to avoid excessive interior deletes (#3145)
If old messages build up in the input stream and do not get processed
successfully, this can create a significant drift between the stream
first sequence and the consumer ack floors, which results in a slow and
expensive start-up when interest-based retention is in use.

If a message is sat in the stream for 24 hours, it's probably not going
to get processed successfully, so let NATS drop them instead. Dendrite
can reconcile by fetching missing events later if it needs to.

---------

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2023-07-07 19:59:34 +02:00
..
base Move fedclient interface over to gmsl (#3061) 2023-04-24 16:23:25 +00:00
config feat: admin APIs for token authenticated registration (#3101) 2023-06-22 16:37:21 +00:00
jetstream Set max age for roomserver input stream to avoid excessive interior deletes (#3145) 2023-07-07 19:59:34 +02:00
mscs Merge SenderID & Per Room User Key work (#3109) 2023-06-14 14:23:46 +00:00
process Fix flaky test in process context 2023-05-03 18:21:33 -06:00
flags.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
monolith.go Use PDU in even more places (#3074) 2023-05-03 10:21:27 +01:00