Variable: auto-revert--lockout-interval

auto-revert--lockout-interval is a variable defined in autorevert.el.gz.

Value

2.5

Documentation

Duration, in seconds, of the Auto-Revert Mode notification lockout.

This is the quiescence after each notification of a file being changed during which no automatic reverting takes place, to prevent many updates in rapid succession from overwhelming the system.

Source Code

;; Defined in /usr/src/emacs/lisp/autorevert.el.gz
;; If we have file notifications, we want to update the auto-revert buffers
;; immediately when a notification occurs. Since file updates can happen very
;; often, we want to skip some revert operations so that we don't spend all our
;; time reverting the buffer.
;;
;; We do this by reverting immediately in response to the first in a
;; flurry of notifications. Any notifications during the following
;; `auto-revert-lockout-interval' seconds are noted but not acted upon
;; until the end of that interval.

(defconst auto-revert--lockout-interval 2.5
  "Duration, in seconds, of the Auto-Revert Mode notification lockout.
This is the quiescence after each notification of a file being
changed during which no automatic reverting takes place, to
prevent many updates in rapid succession from overwhelming the
system.")