summaryrefslogtreecommitdiff
path: root/modules/calendar-sync.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-17 03:12:26 -0600
committerCraig Jennings <c@cjennings.net>2025-11-17 03:12:26 -0600
commit7bd9905f1445c950fdf8e37c67cd1bd9170239dc (patch)
tree203eb986d50a848a4e8be1dc7a000108c70437ce /modules/calendar-sync.el
parent512e05750b795138645b97708fcc77ee3c42fa24 (diff)
downloaddotemacs-7bd9905f1445c950fdf8e37c67cd1bd9170239dc.tar.gz
dotemacs-7bd9905f1445c950fdf8e37c67cd1bd9170239dc.zip
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
Diffstat (limited to 'modules/calendar-sync.el')
-rw-r--r--modules/calendar-sync.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar-sync.el b/modules/calendar-sync.el
index 2eb9e450..07e74b3a 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))