From c4dc468479d95d874627eafe7ba29870aeeb3220 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 11 Feb 2024 22:02:03 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=A2=9E=E5=8A=A0=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=BA=93=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper/plugin.py b/app/helper/plugin.py index 9135fa68..713b7d3c 100644 --- a/app/helper/plugin.py +++ b/app/helper/plugin.py @@ -20,7 +20,7 @@ class PluginHelper(metaclass=Singleton): _base_url = "https://raw.githubusercontent.com/%s/%s/main/" - @cached(cache=TTLCache(maxsize=10, ttl=1800)) + @cached(cache=TTLCache(maxsize=100, ttl=1800)) def get_plugins(self, repo_url: str) -> Dict[str, dict]: """ 获取Github所有最新插件列表