Variable: projectile-async-index-sentinel-timeout
projectile-async-index-sentinel-timeout is a customizable variable
defined in projectile.el.
Value
1.0
Documentation
Seconds to wait for a finished index's result before collecting it.
The asynchronous indexer hands its result over from the indexing process's sentinel. Once that process has exited, Emacs is expected to run the sentinel promptly - but it isn't guaranteed to while a command is waiting for it, and Projectile then used to wait forever (issue #2118).
After this many seconds Projectile parses the finished command's output itself instead. There's no correctness difference; the timeout only decides how long to let Emacs do it first.
This variable was added, or its default value changed, in projectile version 3.3.0.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-async-index-sentinel-timeout 1.0
"Seconds to wait for a finished index's result before collecting it.
The asynchronous indexer hands its result over from the indexing
process's sentinel. Once that process has exited, Emacs is expected to
run the sentinel promptly - but it isn't guaranteed to while a command is
waiting for it, and Projectile then used to wait forever (issue #2118).
After this many seconds Projectile parses the finished command's output
itself instead. There's no correctness difference; the timeout only
decides how long to let Emacs do it first."
:group 'projectile
:type 'number
:package-version '(projectile . "3.3.0"))