mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Fix obd goroutine leak (#10504)
The gouroutine collecting transfer stats never exits. Add missing channel close.
This commit is contained in:
parent
48d2c03250
commit
03490c811b
@ -232,6 +232,7 @@ func (client *peerRESTClient) doNetOBDTest(ctx context.Context, dataSize int64,
|
||||
}
|
||||
}
|
||||
wg.Wait()
|
||||
close(transferChan)
|
||||
|
||||
if err != nil {
|
||||
return info, err
|
||||
|
Loading…
Reference in New Issue
Block a user