Variable: erc-server-flood-margin

erc-server-flood-margin is a customizable variable defined in erc-backend.el.gz.

Value

10

Documentation

A margin on how much excess data we send.

The flood protection algorithm of ERC works like the one detailed in RFC 2813, section 5.8 "Flood control of clients".

  * If erc-server-flood-last-message is less than the current
    time, set it equal.
  * While erc-server-flood-last-message is less than
    erc-server-flood-margin seconds ahead of the current
    time, send a message, and increase
    erc-server-flood-last-message by
    erc-server-flood-penalty for each message.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
;;; Flood-related

;; Most of this is courtesy of Jorgen Schaefer and Circe
;; (https://www.nongnu.org/circe)

(defcustom erc-server-flood-margin 10
  "A margin on how much excess data we send.
The flood protection algorithm of ERC works like the one
detailed in RFC 2813, section 5.8 \"Flood control of clients\".

  * If `erc-server-flood-last-message' is less than the current
    time, set it equal.
  * While `erc-server-flood-last-message' is less than
    `erc-server-flood-margin' seconds ahead of the current
    time, send a message, and increase
    `erc-server-flood-last-message' by
    `erc-server-flood-penalty' for each message."
  :type 'integer)