diff --git a/src/program/services/downloaders/realdebrid.py b/src/program/services/downloaders/realdebrid.py index 6e9111c7..f972cc1a 100644 --- a/src/program/services/downloaders/realdebrid.py +++ b/src/program/services/downloaders/realdebrid.py @@ -49,16 +49,8 @@ class RealDebridAPI: def __init__(self, api_key: str, proxy_url: Optional[str] = None): self.api_key = api_key - - rate_limit_params = get_rate_limit_params(per_minute=60, db_name="realdebrid_rate_limit") - cache_params = get_cache_params(cache_name="realdebrid_cache", expire_after=60) - - self.session = create_service_session( - rate_limit_params=rate_limit_params, - use_cache=True, - cache_params=cache_params - ) - + rate_limit_params = get_rate_limit_params(per_minute=60) + self.session = create_service_session(rate_limit_params=rate_limit_params) self.session.headers.update({"Authorization": f"Bearer {api_key}"}) if proxy_url: self.session.proxies = {"http": proxy_url, "https": proxy_url}