Bound user-started feed and audio requests per account

Feed downloads and proxy streams have per-account and server-wide
limits, new subscriptions stop at 1000 per account, and scheduled
refreshes take accounts in turns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sanapachandClaude Opus 5.5 committed 2026-11-20 15:12:38 +02:00
1 parent 2eb27cfe77
commit cfebe1898f
9 files changed
+330 -18

No files matched your search

+7 -1
View File
@@ -120,7 +120,13 @@ The `podcast_refresh` job (every five minutes, listed under Jobs) checks the
feeds of subscribed podcasts: each feed about once an hour with conditional
requests, failing feeds less and less often (up to once a day). It downloads
feed metadata only, never episode audio. A failing feed keeps its known
episodes. Accounts subscribed to the same feed share one request.
episodes. Accounts subscribed to the same feed share one request. Each run
checks at most 200 feeds, taking accounts in turns (at most 25 feeds of one
account per run), so an account with many or slow feeds does not delay the
others. An account can add up to 1000 subscriptions, and can have two feed
downloads ("add RSS", Refresh) and four proxied audio streams in progress at
once (16 and 64 for the whole server); beyond that the request is refused
with HTTP 429.
The server therefore makes outgoing HTTP(S) requests to podcast publishers.
It only connects to public addresses on the web ports 80, 443, 8080 and 8443: