mirror of
https://github.com/minio/minio.git
synced 2025-04-20 10:37:31 -04: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()
|
wg.Wait()
|
||||||
|
close(transferChan)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return info, err
|
return info, err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user