Skip to content

perf(payload-builder): wake poll on cancellation#508

Open
julio4 wants to merge 1 commit into
mainfrom
perf/payload-job-wake-on-cancel
Open

perf(payload-builder): wake poll on cancellation#508
julio4 wants to merge 1 commit into
mainfrom
perf/payload-job-wake-on-cancel

Conversation

@julio4
Copy link
Copy Markdown
Member

@julio4 julio4 commented May 12, 2026

Poll a WaitForCancellationFutureOwned in BlockPayloadJob::poll so the service task is woken the moment PayloadJobCancellation fires, instead of waiting on the next unrelated event. Removes the implicit invariant that cancels must run inside the service loop.

Poll a `WaitForCancellationFutureOwned` in `BlockPayloadJob::poll` so the
service task is woken the moment `PayloadJobCancellation` fires, instead of
piggybacking on the next chain event, command, or deadline. Removes the
implicit invariant that cancels must run inside the service loop.
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