From 78bd5721b00d2657dca89d0996a9fda072007f24 Mon Sep 17 00:00:00 2001 From: InfinityPacer <160988576+InfinityPacer@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:28:40 +0800 Subject: [PATCH 1/2] fix(BrushFlow): update cron from 5 to 10 --- plugins.v2/brushflow/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.v2/brushflow/__init__.py b/plugins.v2/brushflow/__init__.py index bf55f3d..a0a17a7 100644 --- a/plugins.v2/brushflow/__init__.py +++ b/plugins.v2/brushflow/__init__.py @@ -435,7 +435,7 @@ class BrushFlow(_PluginBase): if self._task_brush_enable: if brush_config.cron: values = brush_config.cron.split() - values[0] = f"{datetime.now().minute % 10}/5" + values[0] = f"{datetime.now().minute % 10}/10" cron = " ".join(values) logger.info(f"站点刷流定时服务启动,执行周期 {cron}") cron_trigger = CronTrigger.from_crontab(cron) From 001ea26cdadf7f8ede2a1514846ec2d26a33e9e2 Mon Sep 17 00:00:00 2001 From: InfinityPacer <160988576+InfinityPacer@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:29:08 +0800 Subject: [PATCH 2/2] fix(BrushFlow): v4.3.1 --- package.v2.json | 3 ++- plugins.v2/brushflow/__init__.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.v2.json b/package.v2.json index 9b3d321..5d0ae54 100644 --- a/package.v2.json +++ b/package.v2.json @@ -20,11 +20,12 @@ "name": "站点刷流", "description": "自动托管刷流,将会提高对应站点的访问频率。", "labels": "刷流,仪表板", - "version": "4.3", + "version": "4.3.1", "icon": "brush.jpg", "author": "jxxghp,InfinityPacer", "level": 2, "history": { + "v4.3.1": "修复了一些细节问题", "v4.3": "支持带宽采样并计算平均值,以优化刷流效率", "v4.2": "优化执行周期输入,需要MoviePilot v2.2.1+", "v4.1": "支持通过CRON表达式配置开启时间,固定10分钟为执行周期", diff --git a/plugins.v2/brushflow/__init__.py b/plugins.v2/brushflow/__init__.py index a0a17a7..4e692c9 100644 --- a/plugins.v2/brushflow/__init__.py +++ b/plugins.v2/brushflow/__init__.py @@ -251,7 +251,7 @@ class BrushFlow(_PluginBase): # 插件图标 plugin_icon = "brush.jpg" # 插件版本 - plugin_version = "4.3" + plugin_version = "4.3.1" # 插件作者 plugin_author = "jxxghp,InfinityPacer" # 作者主页