mirror of https://github.com/go-redis/redis.git
readme: Add note about connection pool.
This commit is contained in:
parent
9d06871d6e
commit
2f284d75b8
|
@ -171,6 +171,7 @@ Immediate command:
|
||||||
func Quit(client *redis.Client) *redis.StatusReq {
|
func Quit(client *redis.Client) *redis.StatusReq {
|
||||||
req := redis.NewStatusReq("QUIT")
|
req := redis.NewStatusReq("QUIT")
|
||||||
client.Run(req)
|
client.Run(req)
|
||||||
|
client.Close()
|
||||||
return req
|
return req
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,3 +179,8 @@ Immediate command:
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connection pool
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Client does not support connection pool.
|
||||||
|
|
Loading…
Reference in New Issue