1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Fix sporadic pool timeouts with IdleTimeout != 0. Fixes #195.

This commit is contained in:
Vladimir Mihailenco
2015-11-27 13:35:30 +02:00
parent 22ed1e8f5b
commit fb44c891dd
2 changed files with 27 additions and 10 deletions

View File

@ -146,6 +146,7 @@ func (c *ClusterClient) process(cmd Cmder) {
pipe.Process(NewCmd("ASKING"))
pipe.Process(cmd)
_, _ = pipe.Exec()
pipe.Close()
ask = false
} else {
client.Process(cmd)