feat 新增清理TMDB缓存命令

This commit is contained in:
jxxghp
2023-08-22 12:32:48 +08:00
parent afe5ee9abb
commit 7435b7c702
5 changed files with 44 additions and 2 deletions

View File

@ -406,3 +406,9 @@ class ChainBase(metaclass=ABCMeta):
定时任务每10分钟调用一次模块实现该接口以实现定时服务
"""
return self.run_module("scheduler_job")
def clear_cache(self) -> None:
"""
清理缓存,模块实现该接口响应清理缓存事件
"""
return self.run_module("clear_cache")