From b029d9f732288b894c65de65dbd5c22d13adad2a Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Mon, 6 Jul 2026 01:08:59 +0800 Subject: [PATCH] feat: add weekly limit for next run in scheduler --- module/config/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/module/config/config.py b/module/config/config.py index 0a62e28..df399a6 100644 --- a/module/config/config.py +++ b/module/config/config.py @@ -290,6 +290,7 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig, ConfigWatcher deep_set(self.data, keys=f"{task}.Scheduler.NextRun", value=now) limit_next_run(['BattlePass'], limit=now + timedelta(days=31, seconds=-1)) + limit_next_run(['Weekly'], limit=now + timedelta(days=7, seconds=-1)) limit_next_run(self.args.keys(), limit=now + timedelta(hours=24, seconds=-1)) def override(self, **kwargs):