Skip to content

Simplify scheduler cancellation checks - #1515

Merged
bgentry merged 1 commit into
masterfrom
bg/simplify-scheduler-error-logging
Oct 16, 2026
Merged

bgentry merged 1 commit into
masterfrom
bg/simplify-scheduler-error-logging

Conversation

@bgentry

@bgentry bgentry commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

The scheduler already exits when its service context is canceled, making the subsequent context.Canceled error check redundant for scheduler shutdown. Remove that extra guard and log failures directly while the context is active, following Brandur's review comment on #1507.

@bgentry
bgentry merged commit f043d98 into master Oct 16, 2026
23 checks passed
@bgentry
bgentry deleted the bg/simplify-scheduler-error-logging branch October 16, 2026 21:08
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.

2 participants