mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-19 21:52:21 +03:00
updateConfig() clamped currentLimit to the new min/maxLimit but left recoveryCeiling pinned to the value computed at construction time, so a raised initialLimit could never recover past the stale ceiling and a lowered one could leave the ceiling above the new maxLimit. Recompute recoveryCeiling from the new initialLimit on every updateConfig call, clamped to the (possibly also new) min/maxLimit.