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

Avoid CancellationToken related allocations #787

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Feb 24, 2020

Accessing HttpContext.RequestAborted will allocat a cancellation token source for the request. Use flag in deadline manager instead.

@JamesNK JamesNK merged commit 1159126 into grpc:master Feb 24, 2020
@JamesNK JamesNK deleted the jamesnk/cancellationtoken-optimization branch February 24, 2020 21:03
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.

None yet

2 participants