add tmdb cache lock

This commit is contained in:
jxxghp 2023-06-10 23:19:44 +08:00
parent bfa78c5afb
commit a2b53a9187

View File

@ -125,6 +125,7 @@ class TmdbCache(metaclass=Singleton):
"""
新增或更新缓存条目
"""
with lock:
if info:
# 缓存标题
cache_title = info.get("title") \