Files
tranquil-pds/crates
Johanna LarssonandTangled b6691cbc90 Set a maximum record size
Left an explanation in the code as well but basically although the spec doesn't set a hard limit on the size of a CBOR record, there is a hard limit on individual commit event record blocks in the sync 1.1 spec. indigo-relay doesn't seem to validate the size of your commits, but hits a hard limit in the websocket library if the commit is too large, causing the connection to drop and instantly reconnect.

I had a 10MiB record on my PDS and I had 9 relays hammering my server constantly trying to backfill that same event and choking on it over and over, until I cleaned it up.

With this PR tranquil introduces a 1MB limit on CBOR records, ensuring we never go over the sync commit event limits.
2026-10-18 11:06:07 +00:00
..
2026-10-18 11:06:07 +00:00
2026-10-06 07:40:12 +00:00
2026-10-14 17:21:26 +00:00
2026-10-18 11:06:07 +00:00
2026-10-07 07:41:22 +00:00