diff --git a/backend/plugin/tools.py b/backend/plugin/tools.py index 11f8bb3b..88802eca 100644 --- a/backend/plugin/tools.py +++ b/backend/plugin/tools.py @@ -178,6 +178,9 @@ def parse_plugin_config() -> tuple[list[dict[str, Any]], list[dict[str, Any]]]: # 重置插件变更状态 run_await(current_redis_client.delete)(f'{settings.PLUGIN_REDIS_PREFIX}:changed') + # 关闭连接 + run_await(current_redis_client.aclose)() + return extend_plugins, app_plugins