Massively reduce CPU when Readers are blocked on unavailable data
This commit is contained in:
parent
c66c4d1744
commit
1d54b1c6d8
|
@ -98,7 +98,6 @@ func (r *Reader) tickleClient() {
|
|||
func (r *Reader) waitReadable(off int64) {
|
||||
// We may have been sent back here because we were told we could read but
|
||||
// it failed.
|
||||
r.tickleClient()
|
||||
r.t.cl.event.Wait()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue