This commit is contained in:
honue 2024-04-05 22:22:41 +08:00
parent 36acb1daaa
commit 4a2688b52f

View File

@ -34,7 +34,7 @@ class PluginHelper(metaclass=Singleton):
if self.install_report(): if self.install_report():
self.systemconfig.set(SystemConfigKey.PluginInstallReport, "1") self.systemconfig.set(SystemConfigKey.PluginInstallReport, "1")
@cached(cache=TTLCache(maxsize=100, ttl=1800)) @cached(cache=TTLCache(maxsize=300, ttl=1800))
def get_plugins(self, repo_url: str) -> Dict[str, dict]: def get_plugins(self, repo_url: str) -> Dict[str, dict]:
""" """
获取Github所有最新插件列表 获取Github所有最新插件列表