9ece600ebc2109fb1154f6ceecf78b356bf9e6e1
Replace ConcurrentQueue<ClosedClient> with ClosedConnectionRingBuffer — a fixed-size ring buffer that overwrites oldest entries when full, eliminating the manual dequeue-to-cap loop. Adds TotalClosed lifetime counter, GetRecent(), and Clear(). Wires the ring buffer into NatsServer including capacity resize on config reload. Adds 10 unit tests covering capacity, ordering, wrapping, TotalClosed tracking, and Clear behavior.
Description
No description provided
Languages
C#
99.9%