1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-04 22:11:05 +00:00

Reduced throttle from 24 hours to 6 before retrying Opensubtitles.com API on DownloadLimitExceeded

This commit is contained in:
Alessandro Vitali 2024-12-23 20:42:59 +01:00 committed by GitHub
parent 320935548c
commit d5a290c7a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,7 +90,7 @@ def provider_throttle_map():
},
"opensubtitlescom": {
TooManyRequests: (datetime.timedelta(minutes=1), "1 minute"),
DownloadLimitExceeded: (datetime.timedelta(hours=24), "24 hours"),
DownloadLimitExceeded: (datetime.timedelta(hours=6), "6 hours"),
},
"addic7ed": {
DownloadLimitExceeded: (datetime.timedelta(hours=3), "3 hours"),