mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 23:46:26 -05:00
_remove_thread_scaling_locked floors min_allowed at 1, preventing remove_thread/set_threads from ever reducing the pool below 1 thread. But start_routine_autoscale passed raw _scaling_config.min_threads to _try_remove_self_if_above without the same floor. With min_threads == 0, all idle workers could self-exit, draining the pool to zero threads and permanently stalling any work enqueued via non-autoscale enqueue_work (which doesn't call _maybe_grow_on_pressure). Apply the same max(min_threads, 1) floor in start_routine_autoscale to keep the two shrink paths consistent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acutest | ||
| boost | ||
| CLI11 | ||
| fmt | ||
| khash | ||
| libfuse | ||
| nonstd | ||
| rapidhash | ||
| scope_guard | ||
| subprocess | ||