wuxibin89 / redis-go-cluster

redis cluster client implementation in Go
Apache License 2.0
488 stars 145 forks source link

set SetReadDeadline for conn.receive() #23

Open mygityf opened 6 years ago

mygityf commented 6 years ago

function SetReadDeadline should be called at conn.receive() instant of SetWriteDeadline to avoid waiting long time when receive response data.