extend metadatagrabber timeout to 3 minutes #199
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ttvdb and tmdb are sometimes quite slow to respond to queries, and the 60 seconds timeout is really too short. Extending it to 180s (3 minutes) solves issues for me, and allow fetching of metadata for all movies / series in my library (which are many).
I have a very fast (fiber) internet connection, so the issue is not my connection, also multiple reports on this issue can be found on the web. For some reason, slower replies of tmdb seem linked to certain movies. Meaning that some queries yield a reply in less than 60 seconds, yet consistent repeated queries for certain movies never return a result within 60 seconds.