mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-28 09:56:23 +02:00
gmail and calendar sync every 5 mins
This commit is contained in:
parent
0d9dac8344
commit
65ae5cf123
2 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue