mirror of
https://github.com/pgsty/minio.git
synced 2026-07-16 00:41:25 +03:00
Fix obd goroutine leak (#10504)
The gouroutine collecting transfer stats never exits. Add missing channel close.
This commit is contained in:
@@ -232,6 +232,7 @@ func (client *peerRESTClient) doNetOBDTest(ctx context.Context, dataSize int64,
|
||||
}
|
||||
}
|
||||
wg.Wait()
|
||||
close(transferChan)
|
||||
|
||||
if err != nil {
|
||||
return info, err
|
||||
|
||||
Reference in New Issue
Block a user