uv/docs/reference
konsti 62bf92132b
Add a 5 min default timeout for deadlocks (#16342)
When a process is running and another calls `uv cache clean` or `uv
cache prune` we currently deadlock - sometimes until the CI timeout
(https://github.com/astral-sh/setup-uv/issues/588). To avoid this, we
add a default 5 min timeout waiting for a lock. 5 min balances allowing
in-progress builds to finish, especially with larger native
dependencies, while also giving timely errors for deadlocks on (remote)
systems.

Commit 1 is a refactoring.

This branch also fixes a problem with the logging where acquired and
released resources currently mismatch:

```
DEBUG Acquired lock for `https://github.com/tqdm/tqdm`
DEBUG Using existing Git source `https://github.com/tqdm/tqdm`
DEBUG Released lock at `C:\Users\Konsti\AppData\Local\uv\cache\git-v0\locks\16bb813afef8edd2`
```
2025-12-04 14:59:04 +01:00
..
internals Document metadata consistency expectation (#15683) 2025-10-19 14:29:47 +02:00
policies Publish to `crates.io` (#16770) 2025-11-20 21:26:44 +00:00
troubleshooting Fix and improve docs (#13620) 2025-06-10 13:15:38 -05:00
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
cli.md Clarify `--project` flag help text to indicate project discovery (#16965) 2025-12-03 12:15:36 -06:00
environment.md Add a 5 min default timeout for deadlocks (#16342) 2025-12-04 14:59:04 +01:00
index.md Add a "storage" reference document (#15954) 2025-11-17 09:38:14 -05:00
installer.md Add a "storage" reference document (#15954) 2025-11-17 09:38:14 -05:00
settings.md Support http/https URLs in `uv python --python-downloads-json-url` (#16542) 2025-11-14 17:51:24 -05:00
storage.md Add a "storage" reference document (#15954) 2025-11-17 09:38:14 -05:00