diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-17 03:12:26 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-17 03:12:26 -0600 |
| commit | 732bef47c133b2e3030a068afefdc1a1bcd31e54 (patch) | |
| tree | 80812afad9cf6640259825f938a28aa09361d0ab /modules | |
| parent | 1975a14cac038b87a081fbc4c59454fea5670a80 (diff) | |
chore(calendar-sync): Change default interval to 60 minutes
Changed default sync interval from 15 minutes to 60 minutes (1 hour).
Rationale:
- Calendar events typically don't change that frequently
- Reduces network requests and potential blocking events
- Users can still manually sync or adjust interval as needed
- More conservative default that balances freshness with performance
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/calendar-sync.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar-sync.el b/modules/calendar-sync.el index 5e7989a6..5af1977b 100644 --- a/modules/calendar-sync.el +++ b/modules/calendar-sync.el @@ -46,9 +46,9 @@ "Google Calendar private .ics URL. Get this from Google Calendar Settings → Integrate calendar → Secret address in iCal format.") -(defvar calendar-sync-interval-minutes 15 +(defvar calendar-sync-interval-minutes 60 "Sync interval in minutes. -Default: 15 minutes.") +Default: 60 minutes (1 hour).") (defvar calendar-sync-file gcal-file "Location of synced calendar file. @@ -442,7 +442,7 @@ Syncs immediately, then every `calendar-sync-interval-minutes' minutes." )) ;; Start auto-sync if enabled and URL is configured -;; Syncs immediately then every calendar-sync-interval-minutes (default: 15 minutes) +;; Syncs immediately then every calendar-sync-interval-minutes (default: 60 minutes) (when (and calendar-sync-auto-start calendar-sync-ics-url) (calendar-sync-start)) |
