ruff/crates/ruff
Nuri Jung 58807b2980
Server: Use min instead of max to limit the number of threads (#17421)
## Summary

Prevent overcommit by using max 4 threads as intended.

Unintuitively, `.max()` returns the maximum value of `self` and the
argument (not limiting to the argument). To limit the value to 4, one
needs to use `.min()`.

https://doc.rust-lang.org/std/cmp/trait.Ord.html#method.max
2025-04-18 01:32:12 +05:30
..
resources/test/fixtures Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
src Server: Use min instead of max to limit the number of threads (#17421) 2025-04-18 01:32:12 +05:30
tests Use python.typing.org for typing documentation links (#17323) 2025-04-09 20:38:20 +02:00
build.rs [ruff] Fix last_tag/commits_since_last_tag for version command (#16686) 2025-03-13 11:59:54 +00:00
Cargo.toml Bump 0.11.6 (#17449) 2025-04-17 09:20:29 -04:00