Skip to content

Feature: Add fallback behavior for RSS ratelimiting "Closes #8653"#9157

Open
laclcia wants to merge 1 commit into
FreeTubeApp:developmentfrom
laclcia:fix/limit-request-fallback-without-rss
Open

Feature: Add fallback behavior for RSS ratelimiting "Closes #8653"#9157
laclcia wants to merge 1 commit into
FreeTubeApp:developmentfrom
laclcia:fix/limit-request-fallback-without-rss

Conversation

@laclcia

@laclcia laclcia commented May 19, 2026

Copy link
Copy Markdown

Pull Request Type

  • Feature Implementation

Related issue

8653

Description

this add's a toggle in the subscription section of the settings page (default off) witch when enabled will change the behavior when fetching subscriptions for large (above 125) lists. instead of falling back to RSS witch often has problems as YT's rss goes down often it will instead chunk fetch requests in chunk's of 80 separated by 2 seconds (2000 ms) to avoid rate limiting without relying on rss.

Screenshots

image

Testing

1 launch app and refresh a large subscription list. the RSS fetch should still work.
2 go to settings tab and the subscription subsection and check "limit request fallback without RSS"
3 go back to subscriptions and refresh. you should notice the bottom loading bar stopping for 2 sec then resuming (and stopping again since it fetches in chunk's of 80) a few times.
4 once all subscriptions are fetched they should all have timestamps confirming it worked without rss.

Desktop

  • **OS:Cachyos
  • **OS Version:X86_64
  • **FreeTube version:v0.24.0 Beta

Additional context

i originally created a proof of concept for this about a month ago and posted the diff in the original feature request thread here #8653 (comment) . i have been running that fix daily on my computers (and some friends) since then and it work's without problem.
English is a second language for me and i am not a developer by trade. this is the second pull request i have made (the first was for a one line fix for another most likely abandoned project). i have tried to the best of my ability to follow the guidelines in the "Code Contributions" file.

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) May 19, 2026 18:07
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label May 19, 2026
@PikachuEXE

Copy link
Copy Markdown
Member

YT/FT broken on getting videos on sub just this hour (no issue a few hours ago
Will test again once it's resolved

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Briefly tested with dev merged, a few things I can think of:

  • Might be better to place the new setting below/above the RSS one (no sure about which one is better)
  • New setting should be disabled when RSS one enabled

Also still wondering if we need a new setting instead of:
If size > 125 then use new batching logic instead of RSS
Else all done in one batch
No sure why we still need to auto switch to RSS with this new method added

@ChunkyProgrammer

Copy link
Copy Markdown
Member

I think it'd make sense to implement some of this logic for SubscriptionPosts (which doesn't support RSS but could support this chunking of requests when RSS is force enabled and Limit Fallback Request is set)

@efb4f5ff-1298-471a-8973-3d47447115dc

efb4f5ff-1298-471a-8973-3d47447115dc commented Jun 21, 2026

Copy link
Copy Markdown
Member

Please rebase into dev branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting for review For PRs that are complete, tested, and ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants