diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-30 17:42:21 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-30 17:42:21 -0400 |
| commit | 610fe106ad07ecc603c5c8badb11d38ce62c4c9c (patch) | |
| tree | b932d424e9ffbbcd14a641ecf3dfa3c8059ebf1c /tests/test-coverage-core--format-report.el | |
| parent | dc2784b6c271bf7733259a1d5cd3657485ef7b1b (diff) | |
| download | dotemacs-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 'tests/test-coverage-core--format-report.el')
0 files changed, 0 insertions, 0 deletions
