-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
TorrentAPI new limits/changes #5206
Copy link
Copy link
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe
--
Describe the solution you'd like
No clue who's responsible for Sonarr right now but @bakerboy448 said to open an issue so here is it
To fix Sonarr potential issues please implement the following in your torrentapi code :
- Increase the sleep between requests x2
- if the API returns 429 retry in 2 minutes , 429 returns a custom json with rate_limit 1 - ignore it
- if the API returns 520 retry in 3 minutes
- if the API returns 200 with a json that contains rate_limit 1 retry in 5 minutes
That will cover all cases. Back-off is unnecessary if it really waits for 6 hours. I never experienced a back-off period in my Sonarr so far tho.
Describe alternatives you've considered
--
Anything else?
--
Reactions are currently unavailable