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

Prevent infinite looping #87

Open
waldoj opened this issue Feb 7, 2020 · 1 comment
Open

Prevent infinite looping #87

waldoj opened this issue Feb 7, 2020 · 1 comment

Comments

@waldoj
Copy link
Member

waldoj commented Feb 7, 2020

If an attempt to retrieve a video fails, then it's requeued to try again later. The problem here is that this could result in infinite tries and requeues. Figure out a way to avoid this.

@waldoj
Copy link
Member Author

waldoj commented Feb 7, 2020

One solution is to count the number of messages in the queue and if it's less than the number of messages requeued in this session, then shut down.

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

No branches or pull requests

1 participant