Variable: erc-server-reconnect-timeout

erc-server-reconnect-timeout is a customizable variable defined in erc-backend.el.gz.

Value

1

Documentation

Number of seconds to wait between successive reconnect attempts.

If this value is too low, servers may reject your initial nick request upon reconnecting because they haven't yet noticed that your previous connection is dead. If this happens, try setting this value to 120 or greater and/or exploring the option erc-services-regain-alist, which may provide a more proactive means of handling this situation on some servers.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
(defcustom erc-server-reconnect-timeout 1
  "Number of seconds to wait between successive reconnect attempts.
If this value is too low, servers may reject your initial nick
request upon reconnecting because they haven't yet noticed that
your previous connection is dead.  If this happens, try setting
this value to 120 or greater and/or exploring the option
`erc-services-regain-alist', which may provide a more proactive
means of handling this situation on some servers."
  :type 'number)