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

add delay to queue.py to mitigate "Sign in to confirm you’re not a bot." and other errors #832

Open
wants to merge 1 commit into
base: refactor-react-migration
Choose a base branch
from

Conversation

Styloy
Copy link

@Styloy Styloy commented Nov 8, 2024

this adds sleep_interval to queue.py, as it was found in reindex.py.

this helps mitigate rate-limiting errors that cause an IP to be blocked/throttled/etc when adding many videos to the download queue.

#816 was the original PR, but I made it against the wrong branch (apologies). I've also took the variable definition out of the loop.

add sleep_interval to mitigate rate_limiting induced errors when adding videos to queue
@Styloy Styloy changed the title add delay to queue.py to mitigate "Sign in to confirm you’re not a bot. and other errors" add delay to queue.py to mitigate "Sign in to confirm you’re not a bot." and other errors Nov 8, 2024
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.

1 participant