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

Use interruptible in writeOutputStream #2932

Merged
merged 3 commits into from
Jul 1, 2022

Conversation

armanbilge
Copy link
Member

Fixes #2931.

As I understand it, interruptibility doesn't come for free. How do we feel about placing it in the hot path here? Maybe it should be configurable?

@djspiewak
Copy link
Member

Fwiw, in this type of thing, I suspect the overhead of interruptible is unnoticeable.

@bpholt
Copy link
Member

bpholt commented Jun 27, 2022

FYI, I pulled this into my original non-minimized reproduction locally and it looks like it resolves the issue. Thanks for digging into it so quickly!

@mpilquist mpilquist merged commit 38da26f into typelevel:main Jul 1, 2022
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.

raiseError causes writeOutputStream to hang
5 participants