mirror of
https://github.com/golang/go
synced 2024-11-21 23:04:39 -07:00
net/rpc: log Call reply discard
It means serious user error that can lead to hard to debug issues under load, log entry will not harm. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5574075
This commit is contained in:
parent
290921bbb5
commit
eaa8b30d5a
@ -145,6 +145,7 @@ func (call *Call) done() {
|
||||
default:
|
||||
// We don't want to block here. It is the caller's responsibility to make
|
||||
// sure the channel has enough buffer space. See comment in Go().
|
||||
log.Println("rpc: discarding Call reply due to insufficient Done chan capacity")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user