OPML uploads are capped at 2,000 feeds and checked by address once (#338)
subscribe_opml, reachable by anyone signed in through POST /api/opml, held the catalogue lock while, for each outline, it searched every subscription and the whole catalogue for its address and probed unique_slug's suffixes in order. 2 MB holds about 40,000 outlines, so one upload was quadratic work with every other catalogue change waiting, and its feeds stayed in the catalogue for good. opml_feeds lists a document's feeds and refuses more than MAX_LISTED, the limit a subscribed list already has (#337): a 400 from the web, a message from `ipx opml`. subscribe_opml takes that list and looks addresses up in a map built once, the first feed with an address winning as the search in order did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Live updates about a feed go only to the people who read it, and admins. Everyone signed in had every feed's, errors included, which carried a paid feed's address with its key (#325).
|
||||
- An open page stops getting live updates within half a minute of its account being removed. They went on until the page was closed (#335).
|
||||
- Only someone subscribed to a feed, or an admin, may mark it private. Anyone signed in could keep anyone's feed, or a whole OPML's, out of the directory, and only an admin could undo it (#333).
|
||||
- An OPML upload may add up to 2,000 feeds; one with more is refused and adds none. Importing tens of thousands held up every change to the feed list for minutes and left them all in it (#338).
|
||||
|
||||
## [1.4.0] - 2026-10-19
|
||||
|
||||
|
||||
Reference in New Issue
Block a user