Variable: eglot-events-buffer-size
eglot-events-buffer-size is a customizable variable defined in
eglot.el.gz.
Value
2000000
Documentation
Control the size of the Eglot events buffer.
If a number, don't let the buffer grow larger than that many characters. If 0, don't use an event's buffer at all. If nil, let the buffer grow forever.
For changes on this variable to take effect on a connection
already started, you need to restart the connection. That can be
done by eglot-reconnect.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defcustom eglot-events-buffer-size 2000000
"Control the size of the Eglot events buffer.
If a number, don't let the buffer grow larger than that many
characters. If 0, don't use an event's buffer at all. If nil,
let the buffer grow forever.
For changes on this variable to take effect on a connection
already started, you need to restart the connection. That can be
done by `eglot-reconnect'."
:type '(choice (const :tag "No limit" nil)
(integer :tag "Number of characters")))