diff --git a/apps/x/packages/core/src/knowledge/sync_calendar.ts b/apps/x/packages/core/src/knowledge/sync_calendar.ts index ae1241ac..0499b8e7 100644 --- a/apps/x/packages/core/src/knowledge/sync_calendar.ts +++ b/apps/x/packages/core/src/knowledge/sync_calendar.ts @@ -8,7 +8,7 @@ import { GoogleClientFactory } from './google-client-factory.js'; // Configuration const SYNC_DIR = path.join(WorkDir, 'calendar_sync'); -const SYNC_INTERVAL_MS = 60 * 1000; // Check every minute +const SYNC_INTERVAL_MS = 5 * 60 * 1000; // Check every 5 minutes const LOOKBACK_DAYS = 14; const REQUIRED_SCOPES = [ 'https://www.googleapis.com/auth/calendar.readonly', diff --git a/apps/x/packages/core/src/knowledge/sync_gmail.ts b/apps/x/packages/core/src/knowledge/sync_gmail.ts index dea534e7..ecf8a4e8 100644 --- a/apps/x/packages/core/src/knowledge/sync_gmail.ts +++ b/apps/x/packages/core/src/knowledge/sync_gmail.ts @@ -8,7 +8,7 @@ import { GoogleClientFactory } from './google-client-factory.js'; // Configuration const SYNC_DIR = path.join(WorkDir, 'gmail_sync'); -const SYNC_INTERVAL_MS = 60 * 1000; // Check every minute +const SYNC_INTERVAL_MS = 5 * 60 * 1000; // Check every 5 minutes const REQUIRED_SCOPE = 'https://www.googleapis.com/auth/gmail.readonly'; const nhm = new NodeHtmlMarkdown();