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

[Bug] sig_helper: If more than 5 minutes passed since player js fetch it will never be fetched again #4840

Closed
MMaster opened this issue Aug 14, 2024 · 1 comment · Fixed by #4845
Assignees
Labels
bug Something isn't working sig_helper

Comments

@MMaster
Copy link

MMaster commented Aug 14, 2024

Condition to check if player was fetched in last 5 minutes is reversed and it will early return if more than 5 minutes passed.

https://github.com/iv-org/invidious/blob/master/src/invidious/helpers/signatures.cr#L16

@MMaster MMaster added the bug Something isn't working label Aug 14, 2024
@unixfox unixfox changed the title [Bug] If more than 5 minutes passed since player js fetch it will never be fetched again [Bug] sig_helper: If more than 5 minutes passed since player js fetch it will never be fetched again Aug 14, 2024
@SamantazFox
Copy link
Member

Nice catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sig_helper
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants