Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Missed Ticks In Scheduler #359

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Fix Missed Ticks In Scheduler #359

merged 2 commits into from
Jan 26, 2024

Conversation

jamesmh
Copy link
Owner

@jamesmh jamesmh commented Jan 26, 2024

See #187 (comment)

This adds the fix for this issue.

It is possible for the schedule to skip some ticks, then while catching up and processing those "old" ticks then begins processing the next tick concurrently. It's a trade-off, and is similar to how it worked before this fix - processing of ticks occurs concurrently and aren't tied to each other. This is where using PreventOverlap() can help to avoid the same jobs stepping over itself.

@jamesmh jamesmh self-assigned this Jan 26, 2024
@jamesmh jamesmh added the bug Something isn't working label Jan 26, 2024
@jamesmh jamesmh merged commit a0c7a13 into master Jan 26, 2024
4 checks passed
@jamesmh jamesmh deleted the scheduler-catchup branch January 26, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant