forked from Furumi/furumi-web
The podcast_refresh job runs every five minutes and refreshes the podcasts whose next check is due: conditional requests (ETag, Last-Modified), 32 MiB and 60 s limits, the shared music-dht parser and PodcastStore::apply_feed. A chain of permanent redirects moves the feed and becomes an alias. Healthy feeds are checked hourly with a stable spread; failures back off from 15 minutes up to a day, honouring Retry-After. Accounts subscribed to the same feed URL share one request, at most four run at once, and one run at a time holds an advisory lock. runner::refresh_now is the manual refresh for one subscribed podcast, at most every 30 seconds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>