Variable: erc-server-reconnect-attempts
erc-server-reconnect-attempts is a customizable variable defined in
erc-backend.el.gz.
Value
2
Documentation
Number of times that ERC will attempt to reestablish a broken connection.
If t, always attempt to reconnect.
This only has an effect if erc-server-auto-reconnect is non-nil.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
(defcustom erc-server-reconnect-attempts 2
"Number of times that ERC will attempt to reestablish a broken connection.
If t, always attempt to reconnect.
This only has an effect if `erc-server-auto-reconnect' is non-nil."
:type '(choice (const :tag "Always reconnect" t)
integer))