Skip to content

Commit 0b88d73

Browse files
committed
2mn to 24hours
1 parent 4c46d06 commit 0b88d73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/mcp/src/sync.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ export class SyncManager {
132132
}, 5000); // Initial sync after 5 seconds
133133

134134
// Periodically check for file changes and update the index
135-
console.log('[SYNC-DEBUG] Setting up periodic sync every 2 minutes (120000ms)');
135+
console.log('[SYNC-DEBUG] Setting up periodic sync every 24 hours');
136136
const syncInterval = setInterval(() => {
137137
console.log('[SYNC-DEBUG] Executing scheduled periodic sync');
138138
this.handleSyncIndex();
139-
}, 2 * 60 * 1000); // every 2 minutes
139+
}, 24 * 60 * 60 * 1000); // every 24 hours
140140

141141
console.log('[SYNC-DEBUG] Background sync setup complete. Interval ID:', syncInterval);
142142
}

0 commit comments

Comments
 (0)