add tmdb cache lock
This commit is contained in:
parent
bfa78c5afb
commit
a2b53a9187
@ -125,6 +125,7 @@ class TmdbCache(metaclass=Singleton):
|
|||||||
"""
|
"""
|
||||||
新增或更新缓存条目
|
新增或更新缓存条目
|
||||||
"""
|
"""
|
||||||
|
with lock:
|
||||||
if info:
|
if info:
|
||||||
# 缓存标题
|
# 缓存标题
|
||||||
cache_title = info.get("title") \
|
cache_title = info.get("title") \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user