matrix-org / matrix-org/matrix-hookshot
Allow configuring of RSS feed fetch interval
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
If an RSS feed is generated dynamically on demand by a dynamic backend, each fetch can take a lot of server resources. It can sometimes be adequate if such a feed is only fetched hourly.
RSS best practices dictated that fetching rate should be adapted based on how often the feed content changes, and lacking that, default to 1 hour. Cache headers might be missing or set incorrectly.
According to our experience, the old matrix RSS bot ignored such advice and brute forced every feed about once every 5 minutes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating the TypeScript RSS fetching and scheduling code and its configuration path; completion means the fetch interval is configurable, defaults to one hour when unspecified, and replaces the roughly five-minute polling described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100