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 synchronous I/O in BufferedReadStream #11379

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

Erarndt
Copy link
Contributor

@Erarndt Erarndt commented Feb 3, 2025

Fixes #

Context

Changes Made

Testing

Notes

Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks!

Please consider removing the code repetition in added ReadAsync func

Copy link
Member

@AR-May AR-May left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, it looks good to me.

The usage of the preprocessor directives appears a bit messy. The FEATURE_APM constant relies on having a specific set of target frameworks in the repository. However, this dependency was not introduced in this PR, and I am unsure how to improve this PR without refactoring the usage of that constant in the whole repo. Let's proceed with the current implementation since it is still correct.

@SimaTian SimaTian merged commit 36b265d into dotnet:main Feb 27, 2025
10 checks passed
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.

4 participants