feat(cache): set default skip_empty to False

This commit is contained in:
InfinityPacer
2025-01-18 02:44:56 +08:00
parent d9508533e1
commit ad0241b7f1
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class PluginHelper(metaclass=Singleton):
if self.install_report():
self.systemconfig.set(SystemConfigKey.PluginInstallReport, "1")
@cached(maxsize=1000, ttl=1800, skip_empty=False)
@cached(maxsize=1000, ttl=1800)
def get_plugins(self, repo_url: str, package_version: str = None) -> Optional[Dict[str, dict]]:
"""
获取Github所有最新插件列表