⌨️BASH_DEFAULT_TIMEOUT_MS
Also known as BASH_DEFAULT_TIMEOUT_MS environment variable
It sets how long a command runs before it is stopped.
Think of it like
It is like a kitchen timer. It rings if a dish takes too long.
Example
Lucy's test suite takes 4 minutes, and it kept being stopped at 2. She sets the default to 5 minutes, and the tests finish.
Why it matters
Slow builds and tests get cut off for no reason when the timer is too short.
Definition
Example code
bash
export BASH_DEFAULT_TIMEOUT_MS=300000
claudeCommon mistake
Key takeaways
- 1Milliseconds. Not seconds.
- 2Default 2 minutes. 120,000.
- 3When Claude asks none. The usual case.