emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to change the recv buffer size dynamically for networ


From: HaiJun Zhang
Subject: Re: Is it possible to change the recv buffer size dynamically for network process or subprocess?
Date: Sat, 4 Apr 2020 20:17:10 +0800

在 2020年3月29日 +0800 AM10:38,Eli Zaretskii <address@hidden>,写道:
Date: Sun, 29 Mar 2020 09:44:41 +0800
From: HaiJun Zhang <address@hidden>
Cc: address@hidden, address@hidden, address@hidden

For example, when I run find or grep in a directory with plenty of files, the output of the subprocess may
continue for 1 minute, while I can’t stop it.

That doesn't use network communications, so it is not relevant to the
issue at hand. 

Something like that. It seems that emacs treat them the same.

One of my use case:
I plan to hack lsp-mode to limit the bandwidth and the message size.

When I use lsp-mode for dart language, It happened that 10000 lines were sent to emacs for one completion which cause emacs unresponsive for several seconds.

When I use lsp-mode for go language, It happened that 400 messages were sent to emacs during one second which cause emacs unresponsive for a while.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]