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

feat(crons): Switch to clock driven monitor task dispatch #54335

Conversation

evanpurkhiser
Copy link
Member

Relates to #53661

This should not be done until we're confident in in the system correctly ticking

# running the monitor tasks. These tasks are responsible for creating missed
# check-ins and marking timedout check-ins. Thus, having some delay after the
# start of the minute is critical.
MONITOR_TASK_DELAY = 15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick question about this, i know before we changed the logic of the check_missing task to only mark missing tasks that were already a minute past due. E.g. at 11:01pm it would mark the 11:00pm expected scheduled cron job as missing. Do we just want this extra 15 seconds as additional safety or has some other logic changed along with this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we actually do that?

@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/feat-crons-switch-to-clock-driven-monitor-task-dispatch branch August 10, 2023 17:39
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants