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

Catch TraktException in rate limit to retry after 1s #258

Merged
merged 1 commit into from
Apr 18, 2021

Conversation

glensc
Copy link
Collaborator

@glensc glensc commented Apr 17, 2021

This is quick fix for #257

Similarly to #248, just add another exception to the catch.

refs:

@glensc glensc self-assigned this Apr 17, 2021
@glensc
Copy link
Collaborator Author

glensc commented Apr 17, 2021

The exception will be caught and retried after 1s for 5 times, and the still aborted.

But there's nothing that can be done if Trakt is having server issues other than stop processing.

@glensc glensc merged commit f921e76 into Taxel:0.7.x Apr 18, 2021
@glensc glensc deleted the TraktException-c branch April 18, 2021 07:36
Repository owner locked as resolved and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant