mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 16:36:53 +08:00
add tmdb cache lock
This commit is contained in:
@@ -125,6 +125,7 @@ class TmdbCache(metaclass=Singleton):
|
|||||||
"""
|
"""
|
||||||
新增或更新缓存条目
|
新增或更新缓存条目
|
||||||
"""
|
"""
|
||||||
|
with lock:
|
||||||
if info:
|
if info:
|
||||||
# 缓存标题
|
# 缓存标题
|
||||||
cache_title = info.get("title") \
|
cache_title = info.get("title") \
|
||||||
|
|||||||
Reference in New Issue
Block a user