* lisp/net/tramp.el (tramp-wait-for-regexp): Deactivate (sit-for 0.005).

This commit is contained in:
Michael Albinus 2024-09-14 08:57:19 +02:00
parent f3bb84e53b
commit 0d07bc1a2d

View file

@ -6042,7 +6042,7 @@ nil."
(with-tramp-timeout (timeout) (with-tramp-timeout (timeout)
(while (not found) (while (not found)
;; This is needed to yield the CPU, otherwise we'll see 100% CPU load. ;; This is needed to yield the CPU, otherwise we'll see 100% CPU load.
(sit-for 0.005) ;(sit-for 0.005)
(tramp-accept-process-output proc) (tramp-accept-process-output proc)
(unless (process-live-p proc) (unless (process-live-p proc)
(tramp-error-with-buffer (tramp-error-with-buffer