Private
Public Access
add_feed ran fetch_and_ingest synchronously during the POST request, so a slow or large feed tied up a Gunicorn worker for the duration of the fetch (up to the 15s HTTP timeout, plus parse/ingest time) and a user could repeat it with distinct URLs to reduce request capacity. The subscription is now created synchronously as before, but the first fetch is dispatched via fetch_feed.delay() — the same task the periodic poll uses, so the save/error bookkeeping is unchanged. The user sees an immediate redirect with a message that the fetch is in progress rather than waiting on it in the request/response cycle. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>