FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.61k stars 855 forks source link

Do not overwrite cache entries when hitting RSS ratelimits #5756

Closed absidue closed 1 month ago

absidue commented 1 month ago

Do not overwrite cache entries when hitting RSS ratelimits

Pull Request Type

Related issue

Related to #5749 Related to #5755

Description

When hitting the RSS ratelimits we currently treat it the same as if the channel had no uploads and overwrite the existing cache entries with empty arrays, this pull request fixes that so that we don't overwrite them if YouTube returns a 403.

Testing

I haven't directly tested this, as I am not personally blocked but it should work.

Desktop

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 month ago

As our team cant didnt ran into the blocks maybe create test build and provide it to the users of that issue?