From beef74ed17438b91e9406d3c73476ed927a39198 Mon Sep 17 00:00:00 2001 From: Arjun <6592213+arkml@users.noreply.github.com> Date: Sat, 25 Apr 2026 22:52:18 +0530 Subject: [PATCH] minor fixes --- apps/x/packages/core/src/knowledge/notify_calendar_meetings.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/x/packages/core/src/knowledge/notify_calendar_meetings.ts b/apps/x/packages/core/src/knowledge/notify_calendar_meetings.ts index 9f9af74e..5e3aa68b 100644 --- a/apps/x/packages/core/src/knowledge/notify_calendar_meetings.ts +++ b/apps/x/packages/core/src/knowledge/notify_calendar_meetings.ts @@ -5,7 +5,7 @@ import { WorkDir } from "../config/config.js"; import container from "../di/container.js"; import type { INotificationService } from "../application/notification/service.js"; -const TICK_INTERVAL_MS = 60_000; +const TICK_INTERVAL_MS = 30_000; // Notify when an event is between 30s in the past (started just now) and // 90s in the future (about to start). The window is wider than 60s so we // don't miss an event if the tick lands slightly off the start time. @@ -160,6 +160,7 @@ export async function init(): Promise { const result = await tick(state); state = result.state; if (result.dirty) { + state = gcState(state); try { await saveState(state); } catch (err) {