Skip to content

feat: make scheduler past join_at tolerance configurable - #1009

Open
ppeerttu wants to merge 2 commits into
mainfrom
feature/increase-scheduler-past-joined-at-tolerance
Open

feat: make scheduler past join_at tolerance configurable#1009
ppeerttu wants to merge 2 commits into
mainfrom
feature/increase-scheduler-past-joined-at-tolerance

Conversation

@ppeerttu

Copy link
Copy Markdown
Collaborator

The scheduler skips scheduled bots whose join_at is more than 5 minutes in the past. That window is hardcoded, so a scheduler outage longer than 5 minutes causes bots to be missed.

Add SCHEDULED_BOT_PAST_JOIN_AT_TOLERANCE_SECONDS to make the window configurable. Default stays at 300 seconds. Applies to both the plain and jitter code paths.

@ppeerttu
ppeerttu marked this pull request as ready for review September 10, 2026 13:02
@ppeerttu
ppeerttu requested a review from a team as a code owner September 10, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant