Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a retry counter/limit to fetch thumbnails. #7618

Conversation

Ruk33
Copy link
Collaborator

@Ruk33 Ruk33 commented Jun 20, 2022

Fixes

Issue Number: #7617

What is the current behavior?

Some channels can trigger many network requests in order to fetch
the channel's thumbnail.

What is the new behavior?

A limit of retries (3 in this case) is set to prevent multiple requests.
If the image couldn't be fetched after those retries, the default picture
will be used instead.

Other information

PR Checklist

Toggle...

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I added a line describing my change to CHANGELOG.md
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

@jessopb
Copy link
Member

jessopb commented Jun 22, 2022

will look at today

@jessopb jessopb merged commit 8c10617 into master Jun 28, 2022
@jessopb jessopb deleted the 7617-some-channel-thumbnails-can-trigger-a-large-number-of-requests-to-fetch-thumbnail branch June 28, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants