alphapapa / ement.el

A Matrix client for GNU Emacs
GNU General Public License v3.0
488 stars 44 forks source link

Consider increasing read-process-output-max #220

Open alphapapa opened 1 year ago

alphapapa commented 1 year ago

Might improve performance when receiving large JSON objects? Or when receiving them, er, slowly?

read-process-output-max is a variable defined in ‘C source code’.

Its value is 4096

Maximum number of bytes to read from subprocess in a single chunk.
Enlarge the value only if the subprocess generates very large (megabytes)
amounts of data in one go.

On GNU/Linux systems, the value should not exceed
/proc/sys/fs/pipe-max-size.  See pipe(7) manpage for details.

  Probably introduced at or before Emacs version 27.1.

[back]