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

Reuse thread state when prewarming addresses in parallel #7984

Merged
merged 5 commits into from
Dec 31, 2024
Merged

Conversation

benaadams
Copy link
Member

Changes

  • When prewarming addresses no state is changed, so the state can be reused for all prewarming that happens on the parallel thread and doesn't need to go via reset and pool.
  • Also plumb through CancellationToken to complete early if block finishes before prewarming.

Types of changes

What types of changes does your code introduce?

  • Optimization

Testing

Requires testing

  • No

@benaadams benaadams changed the title Reuse thread state when prewarming addresses Reuse thread state when prewarming addresses in parallel Dec 31, 2024
@benaadams benaadams requested a review from asdacap December 31, 2024 03:51
@benaadams benaadams merged commit 4923d0c into master Dec 31, 2024
79 checks passed
@benaadams benaadams deleted the reuse-state branch December 31, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants