aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-buffer-file.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-30 17:42:21 -0400
committerCraig Jennings <c@cjennings.net>2026-06-30 17:42:21 -0400
commit610fe106ad07ecc603c5c8badb11d38ce62c4c9c (patch)
treeb932d424e9ffbbcd14a641ecf3dfa3c8059ebf1c /modules/custom-buffer-file.el
parentdc2784b6c271bf7733259a1d5cd3657485ef7b1b (diff)
downloaddotemacs-610fe106ad07ecc603c5c8badb11d38ce62c4c9c.tar.gz
dotemacs-610fe106ad07ecc603c5c8badb11d38ce62c4c9c.zip
fix(calendar-sync): skip overlapping syncs for the same calendar
A timer tick that fired while a calendar's previous fetch was still running launched a second concurrent sync for that calendar, wasting work and racing to write the same org file. The dispatcher now skips a calendar whose status is already syncing and logs the skipped tick. The sentinel resets the status on process exit, so the skip clears on its own. load-state also clears a stale syncing status left by a crash, so a calendar can't be skipped forever.
Diffstat (limited to 'modules/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions