mirror of
https://github.com/golang/go
synced 2024-11-25 10:17:57 -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:
|
default:
|
||||||
// We don't want to block here. It is the caller's responsibility to make
|
// 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().
|
// 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