mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
472c2d828c
Fix `panic: "POST /minio/peer/v21/signalservice?signal=2": sync: WaitGroup is reused before previous Wait has returned` Log entries already on the channel would cause `logEntry` to increment the waitgroup when sending messages, after Cancel has been called. Instead of tracking every single message, just check the send goroutine. Faster and safe, since it will not decrement until the channel is closed. Regression from #14289 |
||
---|---|---|
.. | ||
message | ||
target | ||
audit.go | ||
config.go | ||
console.go | ||
help.go | ||
legacy.go | ||
logger.go | ||
logonce.go | ||
reqinfo.go | ||
targets.go | ||
utils.go |