Repository navigation
Commit c86cebe
news: refuse a catalogue-sized import however it is reached (#402)
`searchOnly` guarded the list *name*, so `add smallweb` was refused and
`add https://kagi.com/smallweb/opml` was not — it wrote 32,969 outlines
into news.opml, and every `/rss` afterwards tried to fetch all of them.
That is the crash the flag existed to prevent, through the one door left
open. A URL is not a smaller promise than a name, so the limit is on the
number of feeds an `add` subscribes to, whatever the source. 2,000 sits
well above every published list (the largest is 611) and well below a
catalogue.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 73f2eaa commit c86cebe
2 files changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
| |||
1577 | 1586 | | |
1578 | 1587 | | |
1579 | 1588 | | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1580 | 1600 | | |
1581 | 1601 | | |
1582 | 1602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1024 | 1043 | | |
1025 | 1044 | | |
1026 | 1045 | | |
| |||
0 commit comments