Variable: tramp-connection-min-time-diff

tramp-connection-min-time-diff is a customizable variable defined in tramp.el.gz.

Value

5

Documentation

Defines seconds between two consecutive connection attempts.

This is necessary as self defense mechanism, in order to avoid yo-yo connection attempts when the remote host is unavailable.

A value of 0 or nil suppresses this check. This might be necessary, when several out-of-order copy operations are performed, or when several asynchronous processes will be started in a short time frame. In those cases it is recommended to let-bind this variable.

This variable was added, or its default value changed, in Emacs 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-connection-min-time-diff 5
  "Defines seconds between two consecutive connection attempts.
This is necessary as self defense mechanism, in order to avoid
yo-yo connection attempts when the remote host is unavailable.

A value of 0 or nil suppresses this check.  This might be
necessary, when several out-of-order copy operations are
performed, or when several asynchronous processes will be started
in a short time frame.  In those cases it is recommended to
let-bind this variable."
  :version "24.4"
  :type '(choice (const nil) integer))