matrix-org / matrix-org/matrix-hookshot

Allow configuring of RSS feed fetch interval

Open
#766 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feeds T-Enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.