From 5ab0d9d1889ecc54fc368505dce6a3d8f19a6fdb Mon Sep 17 00:00:00 2001 From: kyuuseiryuu Date: Tue, 24 Mar 2026 17:41:58 +0900 Subject: [PATCH] fix(schedules): limit event watch task to 7-23 hours The event watch schedule was previously running every 5 minutes all day. Added 'hour: 7-23' configuration to restrict the task execution to business hours, preventing unnecessary load during off-peak times. --- src/schedules/EventWatchSchedule.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schedules/EventWatchSchedule.ts b/src/schedules/EventWatchSchedule.ts index 7b0b5af..96423fb 100644 --- a/src/schedules/EventWatchSchedule.ts +++ b/src/schedules/EventWatchSchedule.ts @@ -58,6 +58,7 @@ export class EventWatchSchedule implements Schedule { start() { const schedule = nodeSchedule.scheduleJob('event-watch', { minute: [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55], + hour: '7-23', }, () => this.watchEvents()); console.debug('Start schedule:', schedule.name); }