mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
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…
x
Reference in New Issue
Block a user