Variable: cider-running-nrepl-paths-cache-ttl

cider-running-nrepl-paths-cache-ttl is a customizable variable defined in cider-endpoint.el.

Value

5.0

Documentation

How long, in seconds, to cache the running-nREPL path scan.

Each scan spawns several ps and lsof subprocesses; caching across back-to-back endpoint completions avoids redundant work. The cache is keyed by default-directory, so each TRAMP host has its own entry.

Set to 0 (or any non-positive number) to disable caching.

This variable was added, or its default value changed, in cider version 1.22.0.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-endpoint.el
(defcustom cider-running-nrepl-paths-cache-ttl 5.0
  "How long, in seconds, to cache the running-nREPL path scan.
Each scan spawns several `ps' and `lsof' subprocesses; caching across
back-to-back endpoint completions avoids redundant work.  The cache is
keyed by `default-directory', so each TRAMP host has its own entry.

Set to 0 (or any non-positive number) to disable caching."
  :type 'number
  :group 'cider
  :safe #'numberp
  :package-version '(cider . "1.22.0"))