1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Change default of tramp-debug-buffer-limit

* lisp/net/tramp-message.el (tramp-debug-buffer-limit): Change
default to 100MB.  Suggested by Francesco Potortì
<pot@potorti.it>.
This commit is contained in:
Michael Albinus 2025-08-20 18:14:37 +02:00
parent 0c277ad022
commit 55f7f00f91

View file

@ -94,7 +94,7 @@ This increases `tramp-verbose' to 6 if necessary."
:type 'boolean :type 'boolean
:link '(info-link :tag "Tramp manual" "(tramp) Traces and Profiles")) :link '(info-link :tag "Tramp manual" "(tramp) Traces and Profiles"))
(defcustom tramp-debug-buffer-limit (* 3 1024 1024 1024) ;3GB (defcustom tramp-debug-buffer-limit (* 100 1024 1024) ;100MB
"The upper limit of a Tramp debug buffer. "The upper limit of a Tramp debug buffer.
If the size of a debug buffer exceeds this limit, a warning is raised. If the size of a debug buffer exceeds this limit, a warning is raised.
Set it to 0 if there is no limit." Set it to 0 if there is no limit."