Skip to content

docs: Describe scheduling while a job is running - #43

Merged
paxuclus merged 1 commit into
mainfrom
docs/scheduling-while-running
Sep 14, 2026
Merged

paxuclus merged 1 commit into
mainfrom
docs/scheduling-while-running

Conversation

@stephanschuler

Copy link
Copy Markdown
Member

The README only covered the pending case: schedule the same identifier twice and the earlier due date wins. That silently leaves out the case a caller is far more likely to get wrong, and it reads as if it were the whole rule.

A scheduled job may run for minutes or hours. Anything scheduling the same identifier during that run does so because the basis the job computed from has changed, so the newer schedule has to outlive the finished run.

Behaviour unchanged; ReschedulingClaimedTest already pins it down.

The README only covered the pending case: schedule the same identifier twice
and the earlier due date wins. That silently leaves out the case a caller is
far more likely to get wrong, and it reads as if it were the whole rule.

A scheduled job may run for minutes or hours. Anything scheduling the same
identifier during that run does so because the basis the job computed from has
changed, so the newer schedule has to outlive the finished run.

Behaviour unchanged; ReschedulingClaimedTest already pins it down.
@paxuclus
paxuclus merged commit 29d1215 into main Sep 14, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants