mirror of
https://github.com/minio/minio.git
synced 2025-02-02 17:35:58 -05:00
fix: canceling the heal caused goroutine to leak. (#18322)
This commit is contained in:
parent
96ec8fcba1
commit
d5e8dac1cf
@ -1056,7 +1056,7 @@ func (a adminAPIHandlers) HealHandler(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
respCh := make(chan healResp)
|
||||
respCh := make(chan healResp, 1)
|
||||
switch {
|
||||
case hip.forceStop:
|
||||
go func() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user