mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
docs(reminders): drop the stale client-managed cross-reference
The module-gate branch cited the client-managed skip as its precedent for advancing past a cycle. That skip no longer exists in this file, and the reason the gate advances is its own: a disabled module has nothing left to deliver.
This commit is contained in:
1 parent
ff076e80b1
commit
3088753a92
1 file changed
+2
-1
@@ -309,7 +309,8 @@ export async function runMeasurementReminderTick(
|
||||
summary.skippedModuleDisabled += 1;
|
||||
// Advance past this cycle so a disabled-module reminder does not pin
|
||||
// the server tick re-evaluating the same overdue slot every 15
|
||||
// minutes for the rest of the day (the client-managed precedent).
|
||||
// minutes for the rest of the day. The user turned the module off,
|
||||
// so there is nothing this reminder could still deliver.
|
||||
await advanceNextDue(prisma, reminder, timezone, now);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user