From d5a290c7a2bf4c0d7d923bb967d1825de2bbaba3 Mon Sep 17 00:00:00 2001 From: Alessandro Vitali <98644809+alvitali@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:42:59 +0100 Subject: Reduced throttle from 24 hours to 6 before retrying Opensubtitles.com API on DownloadLimitExceeded --- bazarr/app/get_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/app/get_providers.py b/bazarr/app/get_providers.py index c4c9b5be4..a4316a9d5 100644 --- a/bazarr/app/get_providers.py +++ b/bazarr/app/get_providers.py @@ -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"), -- cgit v1.2.3