diff --git a/apps/x/packages/core/src/knowledge/build_graph.ts b/apps/x/packages/core/src/knowledge/build_graph.ts index 7ca70894..ab76b5e4 100644 --- a/apps/x/packages/core/src/knowledge/build_graph.ts +++ b/apps/x/packages/core/src/knowledge/build_graph.ts @@ -25,7 +25,7 @@ const NOTES_OUTPUT_DIR = path.join(WorkDir, 'knowledge'); const NOTE_CREATION_AGENT = 'note_creation'; // Configuration for the graph builder service -const SYNC_INTERVAL_MS = 30 * 1000; // Check every 30 seconds +const SYNC_INTERVAL_MS = 15 * 1000; // 15 seconds const SOURCE_FOLDERS = [ 'gmail_sync', path.join('knowledge', 'Meetings', 'fireflies'), diff --git a/apps/x/packages/core/src/knowledge/label_emails.ts b/apps/x/packages/core/src/knowledge/label_emails.ts index a62f674a..a72aa8f5 100644 --- a/apps/x/packages/core/src/knowledge/label_emails.ts +++ b/apps/x/packages/core/src/knowledge/label_emails.ts @@ -12,7 +12,7 @@ import { type LabelingState, } from './labeling_state.js'; -const SYNC_INTERVAL_MS = 3 * 60 * 1000; // 3 minutes +const SYNC_INTERVAL_MS = 15 * 1000; // 15 seconds const BATCH_SIZE = 15; const LABELING_AGENT = 'labeling_agent'; const GMAIL_SYNC_DIR = path.join(WorkDir, 'gmail_sync'); diff --git a/apps/x/packages/core/src/knowledge/tag_notes.ts b/apps/x/packages/core/src/knowledge/tag_notes.ts index 086a3bb5..89c616e6 100644 --- a/apps/x/packages/core/src/knowledge/tag_notes.ts +++ b/apps/x/packages/core/src/knowledge/tag_notes.ts @@ -13,7 +13,7 @@ import { } from './note_tagging_state.js'; import { getNoteTypeDefinitions } from './note_system.js'; -const SYNC_INTERVAL_MS = 30 * 1000; // 30 seconds +const SYNC_INTERVAL_MS = 15 * 1000; // 15 seconds const BATCH_SIZE = 15; const NOTE_TAGGING_AGENT = 'note_tagging_agent'; const KNOWLEDGE_DIR = path.join(WorkDir, 'knowledge');