mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 09:56:28 -05:00
set_threads did not enforce ScalingConfig::min_threads / max_threads, so a caller could push the pool outside the range that the monitor thread and idle self-exit logic expect. For example, set_threads(1) with min_threads=2 would be rejected by _remove_thread_scaling_locked partway through, leaving the pool in a partially-shrunk state. Growing above max_threads had no guard at all. Clamp the requested count to [min_threads, max_threads] when autoscaling is enabled, mirroring the constructor's clamping logic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acutest | ||
| boost | ||
| CLI11 | ||
| fmt | ||
| khash | ||
| libfuse | ||
| nonstd | ||
| rapidhash | ||
| scope_guard | ||
| subprocess | ||