mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-20 15:50:14 +08:00
fix(cache): update tmdb match_web base_wait to 5 for finer control
This commit is contained in:
@@ -494,7 +494,7 @@ class TmdbApi:
|
||||
return ret_info
|
||||
|
||||
@cached(maxsize=settings.CACHE_CONF["tmdb"], ttl=settings.CACHE_CONF["meta"])
|
||||
@rate_limit_exponential(source="match_tmdb_web", max_wait=1800, enable_logging=True)
|
||||
@rate_limit_exponential(source="match_tmdb_web", base_wait=5, max_wait=1800, enable_logging=True)
|
||||
def match_web(self, name: str, mtype: MediaType) -> Optional[dict]:
|
||||
"""
|
||||
搜索TMDB网站,直接抓取结果,结果只有一条时才返回
|
||||
|
||||
Reference in New Issue
Block a user