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

Remove update_read_async method and use update_read instead #924

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

mkaput
Copy link
Member

@mkaput mkaput commented Nov 21, 2023

The implementation of update_read_async caused stack overflows on Windows only, with exact details being quite a mystery. We did not really need a super performant async version of this code, as we are just using it to compute checksums of files residing in well known local filesystems, and thus the plain old spawn_blocking call should do as fine job as the removed code was expected to.

The implementation of `update_read_async` caused stack overflows on
Windows only, with exact details being quite a mystery. We did not
really need a super performant async version of this code, as we are
just using it to compute checksums of files residing in well known
local filesystems, and thus the plain old `spawn_blocking` call should
do as fine job as the removed code was expected to.

Signed-off-by: Marek Kaput <[email protected]>
@mkaput mkaput requested a review from maciektr November 21, 2023 12:07
@mkaput mkaput assigned mkaput and unassigned maciektr Nov 21, 2023
@mkaput
Copy link
Member Author

mkaput commented Nov 21, 2023

@mkaput mkaput added this pull request to the merge queue Nov 21, 2023
Merged via the queue into main with commit 9bd908f Nov 21, 2023
14 checks passed
@mkaput mkaput deleted the mkaput/windows-fix branch November 21, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants