Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions module/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,7 @@ def limit_next_run(tasks, limit):
for task in ["Commission", "Research", "Reward"]:
if not self.is_task_enabled(task):
self.modified[f"{task}.Scheduler.Enable"] = True
force_enable = list

force_enable(
[
"Commission",
"Research",
"Reward",
]
)

limit_next_run(["Commission", "Reward"], limit=now + timedelta(hours=12, seconds=-1))
limit_next_run(["Research"], limit=now + timedelta(hours=24, seconds=-1))
limit_next_run(["OpsiExplore", "OpsiCrossMonth", "OpsiVoucher", "OpsiMonthBoss", "OpsiShop"],
Expand Down