⌨️CLAUDE_CODE_GLOB_TIMEOUT_SECONDS
Also known as CLAUDE_CODE_GLOB_TIMEOUT_SECONDS environment variable
It sets how long a file search may run, in seconds.
Think of it like
It is like how long you look for a lost sock before you stop.
Example
Emma's repo has millions of files, and searches kept stopping halfway. She gives them 90 seconds, and they finish.
Why it matters
A search that stops early can miss the file Claude needs, with no sign it did.
Definition
Example code
bash
export CLAUDE_CODE_GLOB_TIMEOUT_SECONDS=90
claudeCommon mistake
Key takeaways
- 1Seconds. Not milliseconds.
- 2Default 20. 60 on WSL.
- 3Glob and Grep. Both.