Skip to content

Raise the BufWriter capacity to avoid blocking on writes#1230

Open
TysonAndre wants to merge 1 commit intoautozimu:devfrom
TysonAndre:raise-bufwriter-buffer-size
Open

Raise the BufWriter capacity to avoid blocking on writes#1230
TysonAndre wants to merge 1 commit intoautozimu:devfrom
TysonAndre:raise-bufwriter-buffer-size

Conversation

@TysonAndre
Copy link
Contributor

At least for me, vim's ui blocks when using a single threaded language
server that works for a long time before reading the next command from
stdin.

With phan, I see the editor does not seem to block with this patch.
See
https://doc.rust-lang.org/std/io/struct.BufWriter.html#implementations

At least for me, vim's ui blocks when using a single threaded language
server that works for a long time before reading the next command from
stdin.

With phan, I see the editor does not seem to block with this patch.
See
https://doc.rust-lang.org/std/io/struct.BufWriter.html#implementations
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.

1 participant