mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-24 08:33:41 +01:00
The fixed 100ms sleep was too short for sendLoop goroutines to drain under the race detector's scheduling overhead, causing intermittent count=4/want=5 failures. Replace with a 2s polling loop that exits as soon as all sessions report delivery.